return assembleFunction(funcNode, funcNode.getFunction(),
funcNode.getOperands(),
columnContext, subqueryAssembler);
}
else if (node instanceof IfElseExpression) {
IfElseExpression ifElse = (IfElseExpression)node;
return assembleFunction(ifElse, "if",
Arrays.asList(ifElse.getTestCondition(),
ifElse.getThenExpression(),
ifElse.getElseExpression()),
columnContext, subqueryAssembler);
}
else if (node instanceof InListCondition) {
InListCondition inList = (InListCondition)node;
TPreparedExpression lhs = assembleExpression(inList.getOperand(),