
public class OBaseExpression extends OMathExpression
OMathExpression.Operator| Modifier and Type | Field and Description |
|---|---|
protected OBaseIdentifier |
identifier |
protected OInputParameter |
inputParam |
protected ONumber |
number |
protected String |
string |
childExpressions, operatorschildren, firstToken, id, lastToken, parent, parser, value| Constructor and Description |
|---|
OBaseExpression(int id) |
OBaseExpression(OIdentifier identifier) |
OBaseExpression(OIdentifier identifier,
OModifier modifier) |
OBaseExpression(ORecordAttribute attr,
OModifier modifier) |
OBaseExpression(OrientSql p,
int id) |
OBaseExpression(String string) |
deserializeFromResult, getChildExpressions, getOperators, setChildExpressionschildrenAccept, dump, getDatabase, getValue, jjtAccept, jjtAddChild, jjtClose, jjtGetChild, jjtGetFirstToken, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, jjtSetValue, toStringprotected ONumber number
protected OBaseIdentifier identifier
protected OInputParameter inputParam
protected String string
public OBaseExpression(int id)
public OBaseExpression(OrientSql p, int id)
public OBaseExpression(OIdentifier identifier)
public OBaseExpression(String string)
public OBaseExpression(OIdentifier identifier, OModifier modifier)
public OBaseExpression(ORecordAttribute attr, OModifier modifier)
public String toString()
toString in class SimpleNodepublic void toString(Map<Object,Object> params, StringBuilder builder)
toString in class OMathExpressionpublic Object execute(OIdentifiable iCurrentRecord, OCommandContext ctx)
execute in class OMathExpressionpublic Object execute(OResult iCurrentRecord, OCommandContext ctx)
execute in class OMathExpressionprotected boolean supportsBasicCalculation()
supportsBasicCalculation in class OMathExpressionpublic boolean isFunctionAny()
isFunctionAny in class OMathExpressionpublic boolean isFunctionAll()
isFunctionAll in class OMathExpressionpublic boolean isIndexedFunctionCall()
isIndexedFunctionCall in class OMathExpressionpublic long estimateIndexedFunction(OFromClause target, OCommandContext context, OBinaryCompareOperator operator, Object right)
estimateIndexedFunction in class OMathExpressionpublic Iterable<OIdentifiable> executeIndexedFunction(OFromClause target, OCommandContext context, OBinaryCompareOperator operator, Object right)
executeIndexedFunction in class OMathExpressionpublic boolean canExecuteIndexedFunctionWithoutIndex(OFromClause target, OCommandContext context, OBinaryCompareOperator operator, Object right)
canExecuteIndexedFunctionWithoutIndex in class OMathExpressiontarget - the query targetcontext - the execution contextoperator - right - public boolean allowsIndexedFunctionExecutionOnTarget(OFromClause target, OCommandContext context, OBinaryCompareOperator operator, Object right)
allowsIndexedFunctionExecutionOnTarget in class OMathExpressiontarget - the query targetcontext - the execution contextoperator - right - public boolean executeIndexedFunctionAfterIndexSearch(OFromClause target, OCommandContext context, OBinaryCompareOperator operator, Object right)
executeIndexedFunctionAfterIndexSearch in class OMathExpressiontarget - the query targetcontext - the execution contextpublic boolean isBaseIdentifier()
isBaseIdentifier in class OMathExpressionpublic OCollate getCollate(OResult currentRecord, OCommandContext ctx)
getCollate in class OMathExpressionpublic boolean isEarlyCalculated(OCommandContext ctx)
isEarlyCalculated in class OMathExpressionpublic boolean isExpand()
isExpand in class OMathExpressionpublic OExpression getExpandContent()
getExpandContent in class OMathExpressionpublic boolean needsAliases(Set<String> aliases)
needsAliases in class OMathExpressionpublic boolean isAggregate()
isAggregate in class OMathExpressionpublic boolean isCount()
isCount in class OMathExpressionpublic SimpleNode splitForAggregation(AggregateProjectionSplit aggregateProj, OCommandContext ctx)
splitForAggregation in class OMathExpressionpublic AggregationContext getAggregationContext(OCommandContext ctx)
getAggregationContext in class OMathExpressionpublic OBaseExpression copy()
copy in class OMathExpressionpublic boolean refersToParent()
refersToParent in class OMathExpressionpublic boolean equals(Object o)
equals in class OMathExpressionpublic int hashCode()
hashCode in class OMathExpressionpublic void setIdentifier(OBaseIdentifier identifier)
public OBaseIdentifier getIdentifier()
public OModifier getModifier()
public List<String> getMatchPatternInvolvedAliases()
getMatchPatternInvolvedAliases in class OMathExpressionpublic void applyRemove(OResultInternal result, OCommandContext ctx)
applyRemove in class OMathExpressionpublic OResult serialize()
serialize in class OMathExpressionpublic void deserialize(OResult fromResult)
deserialize in class OMathExpressionpublic boolean isDefinedFor(OResult currentRecord)
isDefinedFor in class OMathExpressionpublic boolean isDefinedFor(OElement currentRecord)
isDefinedFor in class OMathExpressionpublic void extractSubQueries(OIdentifier letAlias, SubQueryCollector collector)
extractSubQueries in class OMathExpressionpublic void extractSubQueries(SubQueryCollector collector)
extractSubQueries in class OMathExpressionpublic boolean isCacheable()
isCacheable in class OMathExpressionpublic void setInputParam(OInputParameter inputParam)
public boolean isIndexChain(OCommandContext ctx, OClass clazz)
isIndexChain in class OMathExpressionCopyright © 2009–2025 OrientDB. All rights reserved.