Class SelectAstNode
- java.lang.Object
-
- org.apache.pinot.pql.parsers.pql2.ast.BaseAstNode
-
- org.apache.pinot.pql.parsers.pql2.ast.SelectAstNode
-
- All Implemented Interfaces:
AstNode
public class SelectAstNode extends BaseAstNode
AST node for a SELECT statement.
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_RECORD_LIMIT
-
Constructor Summary
Constructors Constructor Description SelectAstNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChild(AstNode childNode)intgetRecordLimit()intgetTopN()booleanisHasLimitClause()booleanisHasTopClause()StringtoString()voidupdateBrokerRequest(BrokerRequest brokerRequest)voidupdatePinotQuery(PinotQuery pinotQuery)-
Methods inherited from class org.apache.pinot.pql.parsers.pql2.ast.BaseAstNode
doneProcessingChildren, getChildren, getParent, hasChildren, hasParent, sendBrokerRequestUpdateToChildren, sendPinotQueryUpdateToChildren, setParent, toString
-
-
-
-
Field Detail
-
DEFAULT_RECORD_LIMIT
public static final int DEFAULT_RECORD_LIMIT
- See Also:
- Constant Field Values
-
-
Method Detail
-
addChild
public void addChild(AstNode childNode)
- Specified by:
addChildin interfaceAstNode- Overrides:
addChildin classBaseAstNode
-
toString
public String toString()
- Overrides:
toStringin classBaseAstNode
-
updateBrokerRequest
public void updateBrokerRequest(BrokerRequest brokerRequest)
- Specified by:
updateBrokerRequestin interfaceAstNode- Overrides:
updateBrokerRequestin classBaseAstNode
-
updatePinotQuery
public void updatePinotQuery(PinotQuery pinotQuery)
- Specified by:
updatePinotQueryin interfaceAstNode- Overrides:
updatePinotQueryin classBaseAstNode
-
isHasTopClause
public boolean isHasTopClause()
-
getTopN
public int getTopN()
-
isHasLimitClause
public boolean isHasLimitClause()
-
getRecordLimit
public int getRecordLimit()
-
-