Package com.arcadedb.query.sql.parser
Class ArraySelector
- java.lang.Object
-
- com.arcadedb.query.sql.parser.SimpleNode
-
- com.arcadedb.query.sql.parser.ArraySelector
-
- All Implemented Interfaces:
Node
public class ArraySelector extends SimpleNode
-
-
Field Summary
Fields Modifier and Type Field Description protected Expression
expression
protected InputParameter
inputParam
protected PInteger
integer
protected Rid
rid
-
Fields inherited from class com.arcadedb.query.sql.parser.SimpleNode
children, firstToken, id, lastToken, parent, parser, value
-
-
Constructor Summary
Constructors Constructor Description ArraySelector(int id)
ArraySelector(SqlParser p, int id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArraySelector
copy()
void
deserialize(Result fromResult)
boolean
equals(Object o)
void
extractSubQueries(SubQueryCollector collector)
Integer
getValue(Identifiable iCurrentRecord, Object iResult, CommandContext ctx)
Object
getValue(Result iCurrentRecord, Object iResult, CommandContext ctx)
int
hashCode()
boolean
needsAliases(Set<String> aliases)
boolean
refersToParent()
Result
serialize()
void
setValue(Result currentRecord, Object target, Object value, CommandContext ctx)
void
setValue(List target, int idx, Object value, CommandContext ctx)
void
setValue(Map target, Object idx, Object value, CommandContext ctx)
void
setValue(Set target, int idx, Object value, CommandContext ctx)
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
-
rid
protected Rid rid
-
inputParam
protected InputParameter inputParam
-
expression
protected Expression expression
-
integer
protected PInteger integer
-
-
Constructor Detail
-
ArraySelector
public ArraySelector(int id)
-
ArraySelector
public ArraySelector(SqlParser p, int id)
-
-
Method Detail
-
toString
public void toString(Map<String,Object> params, StringBuilder builder)
- Overrides:
toString
in classSimpleNode
-
getValue
public Integer getValue(Identifiable iCurrentRecord, Object iResult, CommandContext ctx)
-
getValue
public Object getValue(Result iCurrentRecord, Object iResult, CommandContext ctx)
-
copy
public ArraySelector copy()
- Overrides:
copy
in classSimpleNode
-
extractSubQueries
public void extractSubQueries(SubQueryCollector collector)
-
refersToParent
public boolean refersToParent()
-
setValue
public void setValue(Result currentRecord, Object target, Object value, CommandContext ctx)
-
setValue
public void setValue(List target, int idx, Object value, CommandContext ctx)
-
setValue
public void setValue(Set target, int idx, Object value, CommandContext ctx)
-
setValue
public void setValue(Map target, Object idx, Object value, CommandContext ctx)
-
serialize
public Result serialize()
-
deserialize
public void deserialize(Result fromResult)
-
-