Search in sources :

Example 1 with InPredicateAstNode

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

the class Pql2AstListener method enterInPredicate.

@Override
public void enterInPredicate(@NotNull PQL2Parser.InPredicateContext ctx) {
    boolean isNotInClause = false;
    if ("not".equalsIgnoreCase(ctx.getChild(0).getChild(1).getText())) {
        isNotInClause = true;
    }
    pushNode(new InPredicateAstNode(isNotInClause));
}
Also used : InPredicateAstNode(com.linkedin.pinot.pql.parsers.pql2.ast.InPredicateAstNode)

Aggregations

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