Class TopAstNode
- java.lang.Object
-
- org.apache.pinot.pql.parsers.pql2.ast.BaseAstNode
-
- org.apache.pinot.pql.parsers.pql2.ast.TopAstNode
-
- All Implemented Interfaces:
AstNode
public class TopAstNode extends BaseAstNode
AST node for the TOP clause.
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_TOP_N
-
Constructor Summary
Constructors Constructor Description TopAstNode(int count)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCount()StringtoString()-
Methods inherited from class org.apache.pinot.pql.parsers.pql2.ast.BaseAstNode
addChild, doneProcessingChildren, getChildren, getParent, hasChildren, hasParent, sendBrokerRequestUpdateToChildren, sendPinotQueryUpdateToChildren, setParent, toString, updateBrokerRequest, updatePinotQuery
-
-
-
-
Field Detail
-
DEFAULT_TOP_N
public static final int DEFAULT_TOP_N
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCount
public int getCount()
-
toString
public String toString()
- Overrides:
toStringin classBaseAstNode
-
-