Search in sources :

Example 1 with FunctionCallAstNode

use of com.linkedin.pinot.pql.parsers.pql2.ast.FunctionCallAstNode in project pinot by linkedin.

the class Pql2AstListener method enterFunctionCall.

@Override
public void enterFunctionCall(@NotNull PQL2Parser.FunctionCallContext ctx) {
    String expression = _expression.substring(ctx.getStart().getStartIndex(), ctx.getStop().getStopIndex() + 1);
    pushNode(new FunctionCallAstNode(ctx.getChild(0).getText(), expression));
}
Also used : FunctionCallAstNode(com.linkedin.pinot.pql.parsers.pql2.ast.FunctionCallAstNode)

Aggregations

FunctionCallAstNode (com.linkedin.pinot.pql.parsers.pql2.ast.FunctionCallAstNode)1