Package com.arcadedb.query.sql.parser
Class PCollection
- java.lang.Object
-
- com.arcadedb.query.sql.parser.SimpleNode
-
- com.arcadedb.query.sql.parser.PCollection
-
- All Implemented Interfaces:
Node
public class PCollection extends SimpleNode
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Expression>
expressions
-
Fields inherited from class com.arcadedb.query.sql.parser.SimpleNode
cachedStringForm, children, value
-
-
Constructor Summary
Constructors Constructor Description PCollection(int id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Expression exp)
PCollection
copy()
Object
execute(Record iCurrentRecord, CommandContext context)
Object
execute(Result iCurrentRecord, CommandContext context)
protected SimpleNode[]
getCacheableElements()
List<Expression>
getExpressions()
protected Object[]
getIdentityElements()
boolean
isAggregate(CommandContext context)
boolean
isEarlyCalculated(CommandContext context)
PCollection
splitForAggregation(AggregateProjectionSplit aggregateProj, 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
-
expressions
protected List<Expression> expressions
-
-
Method Detail
-
toString
public void toString(Map<String,Object> params, StringBuilder builder)
- Overrides:
toString
in classSimpleNode
-
add
public void add(Expression exp)
-
execute
public Object execute(Record iCurrentRecord, CommandContext context)
-
execute
public Object execute(Result iCurrentRecord, CommandContext context)
-
isAggregate
public boolean isAggregate(CommandContext context)
-
splitForAggregation
public PCollection splitForAggregation(AggregateProjectionSplit aggregateProj, CommandContext context)
-
isEarlyCalculated
public boolean isEarlyCalculated(CommandContext context)
-
copy
public PCollection copy()
- Overrides:
copy
in classSimpleNode
-
getIdentityElements
protected Object[] getIdentityElements()
- Overrides:
getIdentityElements
in classSimpleNode
-
getCacheableElements
protected SimpleNode[] getCacheableElements()
- Overrides:
getCacheableElements
in classSimpleNode
-
getExpressions
public List<Expression> getExpressions()
-
-