Package com.arcadedb.query.sql.parser
Class SuffixIdentifier
- java.lang.Object
-
- com.arcadedb.query.sql.parser.SimpleNode
-
- com.arcadedb.query.sql.parser.SuffixIdentifier
-
- All Implemented Interfaces:
Node
public class SuffixIdentifier extends SimpleNode
-
-
Field Summary
Fields Modifier and Type Field Description protected Identifier
identifier
protected RecordAttribute
recordAttribute
protected boolean
star
-
Fields inherited from class com.arcadedb.query.sql.parser.SimpleNode
cachedStringForm, children, value
-
-
Constructor Summary
Constructors Constructor Description SuffixIdentifier(int id)
SuffixIdentifier(Identifier identifier)
SuffixIdentifier(RecordAttribute attr)
-
Method Summary
-
Methods inherited from class com.arcadedb.query.sql.parser.SimpleNode
equals, getCacheableElements, getValue, hashCode, jjtAddChild, jjtClose, jjtGetChild, jjtGetFirstToken, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, jjtSetValue, toString, toString
-
-
-
-
Field Detail
-
identifier
protected Identifier identifier
-
recordAttribute
protected RecordAttribute recordAttribute
-
star
protected boolean star
-
-
Constructor Detail
-
SuffixIdentifier
public SuffixIdentifier(int id)
-
SuffixIdentifier
public SuffixIdentifier(Identifier identifier)
-
SuffixIdentifier
public SuffixIdentifier(RecordAttribute attr)
-
-
Method Detail
-
toString
public void toString(Map<String,Object> params, StringBuilder builder)
- Overrides:
toString
in classSimpleNode
-
execute
public Object execute(Identifiable iCurrentRecord, CommandContext context)
-
execute
public Object execute(Result iCurrentRecord, CommandContext context)
-
execute
public Object execute(Map iCurrentRecord, CommandContext context)
-
execute
public Object execute(Iterable iterable, CommandContext context)
-
execute
public Object execute(Iterator iterator, CommandContext context)
-
execute
public Object execute(CommandContext iCurrentRecord)
-
execute
public Object execute(Object currentValue, CommandContext context)
-
isBaseIdentifier
public boolean isBaseIdentifier()
-
isAggregate
public boolean isAggregate(CommandContext context)
-
isCount
public boolean isCount()
-
splitForAggregation
public SuffixIdentifier splitForAggregation(AggregateProjectionSplit aggregateProj)
-
isEarlyCalculated
public boolean isEarlyCalculated()
-
aggregate
public void aggregate(Object value, CommandContext context)
-
getAggregationContext
public AggregationContext getAggregationContext(CommandContext context)
-
copy
public SuffixIdentifier copy()
- Overrides:
copy
in classSimpleNode
-
getIdentityElements
protected Object[] getIdentityElements()
- Overrides:
getIdentityElements
in classSimpleNode
-
extractSubQueries
public void extractSubQueries(SubQueryCollector collector)
-
refersToParent
public boolean refersToParent()
- Overrides:
refersToParent
in classSimpleNode
-
setValue
public void setValue(Object target, Object value, CommandContext context)
-
setValue
public void setValue(Identifiable target, Object value, CommandContext context)
-
setValue
public void setValue(Map target, Object value, CommandContext context)
-
setValue
public void setValue(Result target, Object value, CommandContext context)
-
applyRemove
public void applyRemove(Object currentValue, CommandContext context)
-
isDefinedFor
public boolean isDefinedFor(Result currentRecord)
-
isDefinedFor
public boolean isDefinedFor(Record currentRecord)
-
isCacheable
public boolean isCacheable()
- Overrides:
isCacheable
in classSimpleNode
-
-