public class OParenthesisExpression extends OMathExpression
OMathExpression.Operator
Modifier and Type | Field and Description |
---|---|
protected OExpression |
expression |
protected OStatement |
statement |
childExpressions, operators
children, firstToken, id, lastToken, parent, parser, value
Constructor and Description |
---|
OParenthesisExpression(int id) |
OParenthesisExpression(OExpression exp) |
OParenthesisExpression(OrientSql p,
int id) |
allowsIndexedFunctionExecutionOnTarget, canExecuteIndexedFunctionWithoutIndex, deserializeFromResult, estimateIndexedFunction, executeIndexedFunction, executeIndexedFunctionAfterIndexSearch, getAggregationContext, getChildExpressions, getCollate, getExpandContent, getOperators, isBaseIdentifier, isDefinedFor, isDefinedFor, isFunctionAny, isIndexChain, isIndexedFunctionCall, setChildExpressions
childrenAccept, dump, getDatabase, getValue, jjtAccept, jjtAddChild, jjtClose, jjtGetChild, jjtGetFirstToken, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, jjtSetValue, toString, toString
protected OExpression expression
protected OStatement statement
public OParenthesisExpression(int id)
public OParenthesisExpression(OrientSql p, int id)
public OParenthesisExpression(OExpression exp)
public Object execute(OIdentifiable iCurrentRecord, OCommandContext ctx)
execute
in class OMathExpression
public Object execute(OResult iCurrentRecord, OCommandContext ctx)
execute
in class OMathExpression
public void toString(Map<Object,Object> params, StringBuilder builder)
toString
in class OMathExpression
protected boolean supportsBasicCalculation()
supportsBasicCalculation
in class OMathExpression
public boolean isEarlyCalculated(OCommandContext ctx)
isEarlyCalculated
in class OMathExpression
public boolean needsAliases(Set<String> aliases)
needsAliases
in class OMathExpression
public boolean isExpand()
isExpand
in class OMathExpression
public boolean isAggregate()
isAggregate
in class OMathExpression
public boolean isCount()
isCount
in class OMathExpression
public SimpleNode splitForAggregation(AggregateProjectionSplit aggregateProj, OCommandContext ctx)
splitForAggregation
in class OMathExpression
public OParenthesisExpression copy()
copy
in class OMathExpression
public void setStatement(OStatement statement)
public void extractSubQueries(SubQueryCollector collector)
extractSubQueries
in class OMathExpression
public void extractSubQueries(OIdentifier letAlias, SubQueryCollector collector)
extractSubQueries
in class OMathExpression
public boolean refersToParent()
refersToParent
in class OMathExpression
public boolean equals(Object o)
equals
in class OMathExpression
public int hashCode()
hashCode
in class OMathExpression
public List<String> getMatchPatternInvolvedAliases()
getMatchPatternInvolvedAliases
in class OMathExpression
public void applyRemove(OResultInternal result, OCommandContext ctx)
applyRemove
in class OMathExpression
public OResult serialize()
serialize
in class OMathExpression
public void deserialize(OResult fromResult)
deserialize
in class OMathExpression
public boolean isCacheable()
isCacheable
in class OMathExpression
Copyright © 2009–2020 OrientDB. All rights reserved.