Class OQueryOperatorMultiply
java.lang.Object
com.orientechnologies.orient.core.sql.operator.OQueryOperator
com.orientechnologies.orient.core.sql.operator.math.OQueryOperatorMultiply
MULTIPLY "*" operator.
- Author:
- Luca Garulli (l.garulli--(at)--orientdb.com)
-
Nested Class Summary
Nested classes/interfaces inherited from class com.orientechnologies.orient.core.sql.operator.OQueryOperator
OQueryOperator.ORDER -
Field Summary
Fields inherited from class com.orientechnologies.orient.core.sql.operator.OQueryOperator
DEFAULT_OPERATORS_ORDER, expectedRightWords, expectsParameters, keyword, precedence, unary -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionevaluateRecord(OIdentifiable iRecord, ODocument iCurrentResult, OSQLFilterCondition iCondition, Object iLeft, Object iRight, OCommandContext iContext, ODocumentSerializer serializer) getBeginRidRange(Object iLeft, Object iRight) getEndRidRange(Object iLeft, Object iRight) getIndexReuseType(Object iLeft, Object iRight) Returns hint how index can be used to calculate result of operator execution.static ClassgetMaxPrecisionClass(Number l, Number r) static BigDecimaltoBigDecimal(Number number) static ObjecttryDownscaleToInt(long value) Methods inherited from class com.orientechnologies.orient.core.sql.operator.OQueryOperator
canBeMerged, canShortCircuit, compare, configure, evaluate, executeIndexQuery, getKeyword, getOIndexSearchResult, getSyntax, isSupportingBinaryEvaluate, isUnary, toString, updateProfiler
-
Constructor Details
-
OQueryOperatorMultiply
public OQueryOperatorMultiply()
-
-
Method Details
-
evaluateRecord
public Object evaluateRecord(OIdentifiable iRecord, ODocument iCurrentResult, OSQLFilterCondition iCondition, Object iLeft, Object iRight, OCommandContext iContext, ODocumentSerializer serializer) - Specified by:
evaluateRecordin classOQueryOperator
-
toBigDecimal
-
getMaxPrecisionClass
-
tryDownscaleToInt
-
getIndexReuseType
Description copied from class:OQueryOperatorReturns hint how index can be used to calculate result of operator execution.- Specified by:
getIndexReuseTypein classOQueryOperator- Parameters:
iLeft- Value of left query parameter.iRight- Value of right query parameter.- Returns:
- Hint how index can be used to calculate result of operator execution.
-
getBeginRidRange
- Specified by:
getBeginRidRangein classOQueryOperator
-
getEndRidRange
- Specified by:
getEndRidRangein classOQueryOperator
-