public class OValueExpression extends OExpression
arrayConcatExpression, booleanValue, doubleQuotes, isNull, json, mathExpression, rid, singleQuotes
children, firstToken, id, lastToken, parent, parser, value
Constructor and Description |
---|
OValueExpression(Object val) |
encode, encodeSingle, estimateIndexedFunction, executeIndexedFunction, getArrayConcatExpression, getMathExpression, getRid, isEarlyCalculated, isFunctionAny, isIndexChain, setArrayConcatExpression, setMathExpression, setRid, splitForAggregation
childrenAccept, dump, getDatabase, getValue, jjtAccept, jjtAddChild, jjtClose, jjtGetChild, jjtGetFirstToken, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, jjtSetValue, toString, toString
public OValueExpression(Object val)
public Object execute(OIdentifiable iCurrentRecord, OCommandContext ctx)
execute
in class OExpression
public Object execute(OResult iCurrentRecord, OCommandContext ctx)
execute
in class OExpression
public boolean isBaseIdentifier()
isBaseIdentifier
in class OExpression
public boolean isEarlyCalculated()
public OIdentifier getDefaultAlias()
getDefaultAlias
in class OExpression
public void toString(Map<Object,Object> params, StringBuilder builder)
toString
in class OExpression
public boolean supportsBasicCalculation()
supportsBasicCalculation
in class OExpression
public boolean isIndexedFunctionCal()
isIndexedFunctionCal
in class OExpression
public boolean canExecuteIndexedFunctionWithoutIndex(OFromClause target, OCommandContext context, OBinaryCompareOperator operator, Object right)
OExpression
canExecuteIndexedFunctionWithoutIndex
in class OExpression
target
- the query targetcontext
- the execution contextpublic boolean allowsIndexedFunctionExecutionOnTarget(OFromClause target, OCommandContext context, OBinaryCompareOperator operator, Object right)
OExpression
allowsIndexedFunctionExecutionOnTarget
in class OExpression
target
- the query targetcontext
- the execution contextpublic boolean executeIndexedFunctionAfterIndexSearch(OFromClause target, OCommandContext context, OBinaryCompareOperator operator, Object right)
OExpression
executeIndexedFunctionAfterIndexSearch
in class OExpression
target
- the query targetcontext
- the execution contextpublic boolean isExpand()
isExpand
in class OExpression
public OValueExpression getExpandContent()
getExpandContent
in class OExpression
public boolean needsAliases(Set<String> aliases)
needsAliases
in class OExpression
public boolean isAggregate()
isAggregate
in class OExpression
public OValueExpression splitForAggregation(AggregateProjectionSplit aggregateSplit)
public AggregationContext getAggregationContext(OCommandContext ctx)
getAggregationContext
in class OExpression
public OValueExpression copy()
copy
in class OExpression
public boolean equals(Object o)
equals
in class OExpression
public int hashCode()
hashCode
in class OExpression
public void extractSubQueries(SubQueryCollector collector)
extractSubQueries
in class OExpression
public void extractSubQueries(OIdentifier letAlias, SubQueryCollector collector)
extractSubQueries
in class OExpression
public boolean refersToParent()
refersToParent
in class OExpression
public void applyRemove(OResultInternal result, OCommandContext ctx)
applyRemove
in class OExpression
public boolean isCount()
isCount
in class OExpression
public OResult serialize()
serialize
in class OExpression
public void deserialize(OResult fromResult)
deserialize
in class OExpression
public boolean isDefinedFor(OResult currentRecord)
isDefinedFor
in class OExpression
public boolean isDefinedFor(OElement currentRecord)
isDefinedFor
in class OExpression
public OCollate getCollate(OResult currentRecord, OCommandContext ctx)
getCollate
in class OExpression
public boolean isCacheable()
isCacheable
in class OExpression
Copyright © 2009–2020 OrientDB. All rights reserved.