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
cachedStringForm, children, value
-
-
Constructor Summary
Constructors Constructor Description ArraySelector(int id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArraySelector
copy()
void
extractSubQueries(SubQueryCollector collector)
protected SimpleNode[]
getCacheableElements()
protected Object[]
getIdentityElements()
Integer
getValue(Identifiable iCurrentRecord, Object iResult, CommandContext context)
Object
getValue(Result iCurrentRecord, Object iResult, CommandContext context)
void
setValue(Result currentRecord, Object target, Object value, CommandContext context)
void
setValue(List target, int idx, Object value, CommandContext context)
void
setValue(Map target, Object idx, Object value, CommandContext context)
void
setValue(Set target, int idx, Object value, CommandContext context)
void
toString(Map<String,Object> params, StringBuilder builder)
-
Methods inherited from class com.arcadedb.query.sql.parser.SimpleNode
equals, getValue, hashCode, isCacheable, jjtAddChild, jjtClose, jjtGetChild, jjtGetFirstToken, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, jjtSetValue, refersToParent, toString, toString
-
-
-
-
Field Detail
-
rid
protected Rid rid
-
inputParam
protected InputParameter inputParam
-
expression
protected Expression expression
-
integer
protected PInteger integer
-
-
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 context)
-
getValue
public Object getValue(Result iCurrentRecord, Object iResult, CommandContext context)
-
copy
public ArraySelector copy()
- Overrides:
copy
in classSimpleNode
-
extractSubQueries
public void extractSubQueries(SubQueryCollector collector)
-
getIdentityElements
protected Object[] getIdentityElements()
- Overrides:
getIdentityElements
in classSimpleNode
-
getCacheableElements
protected SimpleNode[] getCacheableElements()
- Overrides:
getCacheableElements
in classSimpleNode
-
setValue
public void setValue(Result currentRecord, Object target, Object value, CommandContext context)
-
setValue
public void setValue(List target, int idx, Object value, CommandContext context)
-
setValue
public void setValue(Set target, int idx, Object value, CommandContext context)
-
setValue
public void setValue(Map target, Object idx, Object value, CommandContext context)
-
-