Package com.arcadedb.query.sql.parser
Class Rid
- java.lang.Object
-
- com.arcadedb.query.sql.parser.SimpleNode
-
- com.arcadedb.query.sql.parser.Rid
-
- All Implemented Interfaces:
Node
public class Rid extends SimpleNode
-
-
Field Summary
Fields Modifier and Type Field Description protected PInteger
bucket
protected Expression
expression
protected boolean
legacy
protected PInteger
position
-
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 Rid
copy()
void
deserialize(Result fromResult)
boolean
equals(Object o)
PInteger
getBucket()
PInteger
getPosition()
int
hashCode()
Result
serialize()
void
setBucket(PInteger bucket)
void
setLegacy(boolean b)
void
setPosition(PInteger position)
RID
toRecordId(Identifiable target, CommandContext ctx)
RID
toRecordId(Result target, CommandContext ctx)
String
toString(String prefix)
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
-
-
-
-
Field Detail
-
bucket
protected PInteger bucket
-
position
protected PInteger position
-
expression
protected Expression expression
-
legacy
protected boolean legacy
-
-
Constructor Detail
-
Rid
public Rid(int id)
-
Rid
public Rid(SqlParser p, int id)
-
-
Method Detail
-
toString
public String toString(String prefix)
- Overrides:
toString
in classSimpleNode
-
toString
public void toString(Map<String,Object> params, StringBuilder builder)
- Overrides:
toString
in classSimpleNode
-
toRecordId
public RID toRecordId(Result target, CommandContext ctx)
-
toRecordId
public RID toRecordId(Identifiable target, CommandContext ctx)
-
copy
public Rid copy()
- Overrides:
copy
in classSimpleNode
-
setBucket
public void setBucket(PInteger bucket)
-
setPosition
public void setPosition(PInteger position)
-
setLegacy
public void setLegacy(boolean b)
-
getBucket
public PInteger getBucket()
-
getPosition
public PInteger getPosition()
-
serialize
public Result serialize()
-
deserialize
public void deserialize(Result fromResult)
-
-