Class PredicateListAstNode
- 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.PredicateListAstNode
-
- All Implemented Interfaces:
AstNode
public class PredicateListAstNode extends PredicateAstNode
AST node for a list of predicates joined by boolean operators.
-
-
Field Summary
-
Fields inherited from class org.apache.pinot.pql.parsers.pql2.ast.PredicateAstNode
_identifier
-
-
Constructor Summary
Constructors Constructor Description PredicateListAstNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpressionbuildFilterExpression()Create the query expression tree for the where clauseExpressionbuildFilterExpression(FilterKind operator, List<Expression> children)FilterQueryTreebuildFilterQueryTree()Create the query tree for the where clausevoidbuildQueryTreePredicates(List<FilterQueryTree> filterQueryOrPredicates, List<FilterQueryTree> filterQueryAndPredicates)-
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
addChild, doneProcessingChildren, getChildren, getParent, hasChildren, hasParent, sendBrokerRequestUpdateToChildren, sendPinotQueryUpdateToChildren, setParent, toString, toString, updateBrokerRequest, updatePinotQuery
-
-
-
-
Method Detail
-
buildQueryTreePredicates
public void buildQueryTreePredicates(List<FilterQueryTree> filterQueryOrPredicates, List<FilterQueryTree> filterQueryAndPredicates)
-
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:
-
buildFilterExpression
public Expression buildFilterExpression(FilterKind operator, List<Expression> children)
-
-