Class OParenthesisExpression
java.lang.Object
com.orientechnologies.orient.core.sql.parser.SimpleNode
com.orientechnologies.orient.core.sql.parser.OMathExpression
com.orientechnologies.orient.core.sql.parser.OParenthesisExpression
- All Implemented Interfaces:
Node
-
Nested Class Summary
Nested classes/interfaces inherited from class com.orientechnologies.orient.core.sql.parser.OMathExpression
OMathExpression.Operator -
Field Summary
FieldsFields inherited from class com.orientechnologies.orient.core.sql.parser.OMathExpression
childExpressions, operatorsFields inherited from class com.orientechnologies.orient.core.sql.parser.SimpleNode
children, firstToken, id, lastToken, PARAMETER_PLACEHOLDER, parent, parser, value -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyRemove(OResultInternal result, OCommandContext ctx) copy()voiddeserialize(OResult fromResult) booleanexecute(OResult iCurrentRecord, OCommandContext ctx) voidextractSubQueries(OIdentifier letAlias, SubQueryCollector collector) voidextractSubQueries(SubQueryCollector collector) inthashCode()booleanbooleanbooleanisCount()booleanbooleanisExpand()booleanbooleanneedsAliases(Set<String> aliases) booleanvoidsetStatement(OStatement statement) splitForAggregation(AggregateProjectionSplit aggregateProj, OCommandContext ctx) protected booleanvoidtoGenericStatement(StringBuilder builder) voidtoString(Map<Object, Object> params, StringBuilder builder) Methods inherited from class com.orientechnologies.orient.core.sql.parser.OMathExpression
addChildExpression, addOperator, allowsIndexedFunctionExecutionOnTarget, canExecuteIndexedFunctionWithoutIndex, deserializeFromResult, estimateIndexedFunction, executeIndexedFunction, executeIndexedFunctionAfterIndexSearch, getAggregationContext, getChildExpressions, getCollate, getExpandContent, getOperators, getPath, isBaseIdentifier, isDefinedFor, isDefinedFor, isFunctionAll, isFunctionAny, isIndexChain, isIndexedFunctionCall, isSelf, setChildExpressions, unwrapIfNeededMethods inherited from class com.orientechnologies.orient.core.sql.parser.SimpleNode
dump, getValue, jjtAddChild, jjtClose, jjtGetChild, jjtGetFirstToken, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, jjtSetValue, toGenericStatement, toString, toString
-
Field Details
-
expression
-
statement
-
-
Constructor Details
-
OParenthesisExpression
public OParenthesisExpression(int id) -
OParenthesisExpression
-
OParenthesisExpression
-
-
Method Details
-
isParentesis
public boolean isParentesis()- Overrides:
isParentesisin classOMathExpression
-
execute
- Overrides:
executein classOMathExpression
-
getIndexKey
- Overrides:
getIndexKeyin classOMathExpression
-
toString
- Overrides:
toStringin classOMathExpression
-
toGenericStatement
- Overrides:
toGenericStatementin classOMathExpression
-
supportsBasicCalculation
protected boolean supportsBasicCalculation()- Overrides:
supportsBasicCalculationin classOMathExpression
-
isEarlyCalculated
- Overrides:
isEarlyCalculatedin classOMathExpression
-
needsAliases
- Overrides:
needsAliasesin classOMathExpression
-
isExpand
public boolean isExpand()- Overrides:
isExpandin classOMathExpression
-
isAggregate
public boolean isAggregate()- Overrides:
isAggregatein classOMathExpression
-
isCount
public boolean isCount()- Overrides:
isCountin classOMathExpression
-
splitForAggregation
- Overrides:
splitForAggregationin classOMathExpression
-
copy
- Overrides:
copyin classOMathExpression
-
setStatement
-
extractSubQueries
- Overrides:
extractSubQueriesin classOMathExpression
-
extractSubQueries
- Overrides:
extractSubQueriesin classOMathExpression
-
refersToParent
public boolean refersToParent()- Overrides:
refersToParentin classOMathExpression
-
equals
- Overrides:
equalsin classOMathExpression
-
hashCode
public int hashCode()- Overrides:
hashCodein classOMathExpression
-
getMatchPatternInvolvedAliases
- Overrides:
getMatchPatternInvolvedAliasesin classOMathExpression
-
applyRemove
- Overrides:
applyRemovein classOMathExpression
-
serialize
- Overrides:
serializein classOMathExpression
-
deserialize
- Overrides:
deserializein classOMathExpression
-
isCacheable
public boolean isCacheable()- Overrides:
isCacheablein classOMathExpression
-