Package com.arcadedb.query.sql.parser
Class Limit
- java.lang.Object
-
- com.arcadedb.query.sql.parser.SimpleNode
-
- com.arcadedb.query.sql.parser.Limit
-
- All Implemented Interfaces:
Node
public class Limit extends SimpleNode
-
-
Field Summary
Fields Modifier and Type Field Description protected InputParameter
inputParam
protected PInteger
num
-
Fields inherited from class com.arcadedb.query.sql.parser.SimpleNode
children, firstToken, id, lastToken, parent, parser, value
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Limit
copy()
void
deserialize(Result fromResult)
boolean
equals(Object o)
int
getValue(CommandContext ctx)
int
hashCode()
Result
serialize()
Limit
setValue(int value)
void
toString(Map<String,Object> params, StringBuilder builder)
-
Methods inherited from class com.arcadedb.query.sql.parser.SimpleNode
childrenAccept, dump, getValue, jjtAccept, jjtAddChild, jjtClose, jjtGetChild, jjtGetFirstToken, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, jjtSetValue, toString, toString
-
-
-
-
Field Detail
-
num
protected PInteger num
-
inputParam
protected InputParameter inputParam
-
-
Constructor Detail
-
Limit
public Limit(int id)
-
Limit
public Limit(SqlParser p, int id)
-
-
Method Detail
-
toString
public void toString(Map<String,Object> params, StringBuilder builder)
- Overrides:
toString
in classSimpleNode
-
getValue
public int getValue(CommandContext ctx)
-
setValue
public Limit setValue(int value)
-
copy
public Limit copy()
- Overrides:
copy
in classSimpleNode
-
serialize
public Result serialize()
-
deserialize
public void deserialize(Result fromResult)
-
-