Class LimitAstNode
- java.lang.Object
-
- org.apache.pinot.pql.parsers.pql2.ast.BaseAstNode
-
- org.apache.pinot.pql.parsers.pql2.ast.LimitAstNode
-
- All Implemented Interfaces:
AstNode
public class LimitAstNode extends BaseAstNode
AST node for LIMIT clauses.
-
-
Constructor Summary
Constructors Constructor Description LimitAstNode(int count)LimitAstNode(int count, int offset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCount()intgetOffset()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
-
-
-
-
Method Detail
-
getCount
public int getCount()
-
getOffset
public int getOffset()
-
toString
public String toString()
- Overrides:
toStringin classBaseAstNode
-
-