
public class OMathExpression extends SimpleNode
| Modifier and Type | Class and Description |
|---|---|
static class |
OMathExpression.Operator |
| Modifier and Type | Field and Description |
|---|---|
protected List<OMathExpression> |
childExpressions |
protected List<OMathExpression.Operator> |
operators |
children, firstToken, id, lastToken, parent, parser, value| Constructor and Description |
|---|
OMathExpression(int id) |
OMathExpression(OrientSql p,
int id) |
| Modifier and Type | Method and Description |
|---|---|
Number |
apply(Number a,
OMathExpression.Operator operation,
Number b) |
Object |
apply(Object a,
OMathExpression.Operator operation,
Object b) |
long |
estimateIndexedFunction(OFromClause target,
OCommandContext context,
OBinaryCompareOperator operator,
Object right) |
Object |
execute(OIdentifiable iCurrentRecord,
OCommandContext ctx) |
Iterable<OIdentifiable> |
executeIndexedFunction(OFromClause target,
OCommandContext context,
OBinaryCompareOperator operator,
Object right) |
List<OMathExpression> |
getChildExpressions() |
List<String> |
getMatchPatternInvolvedAliases() |
boolean |
isBaseIdentifier() |
boolean |
isEarlyCalculated() |
boolean |
isIndexedFunctionCall() |
Object |
jjtAccept(OrientSqlVisitor visitor,
Object data)
Accept the visitor.
|
void |
setChildExpressions(List<OMathExpression> childExpressions) |
protected boolean |
supportsBasicCalculation() |
void |
toString(Map<Object,Object> params,
StringBuilder builder) |
childrenAccept, dump, getDatabase, getValue, jjtAddChild, jjtClose, jjtGetChild, jjtGetFirstToken, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, jjtSetValue, toString, toStringprotected List<OMathExpression> childExpressions
protected List<OMathExpression.Operator> operators
public OMathExpression(int id)
public OMathExpression(OrientSql p, int id)
public Object execute(OIdentifiable iCurrentRecord, OCommandContext ctx)
public Object jjtAccept(OrientSqlVisitor visitor, Object data)
jjtAccept in interface NodejjtAccept in class SimpleNodepublic List<OMathExpression> getChildExpressions()
public void setChildExpressions(List<OMathExpression> childExpressions)
public void toString(Map<Object,Object> params, StringBuilder builder)
toString in class SimpleNodepublic Object apply(Object a, OMathExpression.Operator operation, Object b)
public Number apply(Number a, OMathExpression.Operator operation, Number b)
protected boolean supportsBasicCalculation()
public boolean isIndexedFunctionCall()
public long estimateIndexedFunction(OFromClause target, OCommandContext context, OBinaryCompareOperator operator, Object right)
public Iterable<OIdentifiable> executeIndexedFunction(OFromClause target, OCommandContext context, OBinaryCompareOperator operator, Object right)
public boolean isBaseIdentifier()
public boolean isEarlyCalculated()
Copyright © 2009–2025 OrientDB. All rights reserved.