Class InPredicateAstNode
- java.lang.Object
-
- org.apache.pinot.pql.parsers.pql2.ast.BaseAstNode
-
- org.apache.pinot.pql.parsers.pql2.ast.PredicateAstNode
-
- org.apache.pinot.pql.parsers.pql2.ast.InPredicateAstNode
-
- All Implemented Interfaces:
AstNode
public class InPredicateAstNode extends PredicateAstNode
AST node for IN predicates.
-
-
Field Summary
-
Fields inherited from class org.apache.pinot.pql.parsers.pql2.ast.PredicateAstNode
_identifier
-
-
Constructor Summary
Constructors Constructor Description InPredicateAstNode(boolean isNotInClause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChild(AstNode childNode)ExpressionbuildFilterExpression()Create the query expression tree for the where clauseFilterQueryTreebuildFilterQueryTree()Create the query tree for the where clauseArrayList<String>getValues()booleanisNotInClause()-
Methods inherited from class org.apache.pinot.pql.parsers.pql2.ast.PredicateAstNode
getIdentifier
-
Methods inherited from class org.apache.pinot.pql.parsers.pql2.ast.BaseAstNode
doneProcessingChildren, getChildren, getParent, hasChildren, hasParent, sendBrokerRequestUpdateToChildren, sendPinotQueryUpdateToChildren, setParent, toString, toString, updateBrokerRequest, updatePinotQuery
-
-
-
-
Method Detail
-
isNotInClause
public boolean isNotInClause()
-
addChild
public void addChild(AstNode childNode)
- Specified by:
addChildin interfaceAstNode- Overrides:
addChildin classBaseAstNode
-
buildFilterQueryTree
public FilterQueryTree buildFilterQueryTree()
Description copied from class:PredicateAstNodeCreate the query tree for the where clause- Specified by:
buildFilterQueryTreein classPredicateAstNode- Returns:
-
buildFilterExpression
public Expression buildFilterExpression()
Description copied from class:PredicateAstNodeCreate the query expression tree for the where clause- Specified by:
buildFilterExpressionin classPredicateAstNode- Returns:
-
-