public class OProjectionItem extends SimpleNode
Modifier and Type | Field and Description |
---|---|
protected Boolean |
aggregate |
protected OIdentifier |
alias |
protected boolean |
all |
protected OExpression |
expression |
protected ONestedProjection |
nestedProjection |
children, firstToken, id, lastToken, parent, parser, value
Constructor and Description |
---|
OProjectionItem(int id) |
OProjectionItem(OExpression expression,
OIdentifier alias,
ONestedProjection nestedProjection) |
OProjectionItem(OrientSql p,
int id) |
childrenAccept, dump, getDatabase, getValue, jjtAccept, jjtAddChild, jjtClose, jjtGetChild, jjtGetFirstToken, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, jjtSetValue, toString, toString
protected boolean all
protected OIdentifier alias
protected OExpression expression
protected Boolean aggregate
protected ONestedProjection nestedProjection
public OProjectionItem(OExpression expression, OIdentifier alias, ONestedProjection nestedProjection)
public OProjectionItem(int id)
public OProjectionItem(OrientSql p, int id)
public boolean isAll()
public void setAll(boolean all)
public OIdentifier getAlias()
public void setAlias(OIdentifier alias)
public OExpression getExpression()
public void setExpression(OExpression expression)
public void toString(Map<Object,Object> params, StringBuilder builder)
toString
in class SimpleNode
public Object execute(OIdentifiable iCurrentRecord, OCommandContext ctx)
public Object execute(OResult iCurrentRecord, OCommandContext ctx)
public String getProjectionAliasAsString()
public OIdentifier getProjectionAlias()
public boolean isExpand()
public OProjectionItem getExpandContent()
public boolean isAggregate()
public OProjectionItem splitForAggregation(AggregateProjectionSplit aggregateSplit, OCommandContext ctx)
aggregateSplit
- public AggregationContext getAggregationContext(OCommandContext ctx)
public OProjectionItem copy()
copy
in class SimpleNode
public void extractSubQueries(SubQueryCollector collector)
public boolean refersToParent()
public OResult serialize()
public void deserialize(OResult fromResult)
public void setNestedProjection(ONestedProjection nestedProjection)
public boolean isCacheable()
Copyright © 2009–2020 OrientDB. All rights reserved.