Class OSQLMethodRuntime
java.lang.Object
com.orientechnologies.orient.core.sql.filter.OSQLFilterItemAbstract
com.orientechnologies.orient.core.sql.method.OSQLMethodRuntime
- All Implemented Interfaces:
OSQLFilterItem,Comparable<OSQLMethodRuntime>
public class OSQLMethodRuntime
extends OSQLFilterItemAbstract
implements Comparable<OSQLMethodRuntime>
Wraps function managing the binding of parameters.
- Author:
- Luca Garulli (l.garulli--(at)--orientdb.com)
-
Field Summary
FieldsFields inherited from class com.orientechnologies.orient.core.sql.filter.OSQLFilterItemAbstract
operationsChain -
Constructor Summary
ConstructorsConstructorDescriptionOSQLMethodRuntime(OBaseParser iQueryToParse, String iText) OSQLMethodRuntime(OSQLMethod iFunction) -
Method Summary
Modifier and TypeMethodDescriptionintexecute(Object iThis, OIdentifiable iCurrentRecord, Object iCurrentResult, OCommandContext iContext) Execute a method.Object[]getRoot()Object[]getValue(OIdentifiable iRecord, Object iCurrentResult, OCommandContext iContext) setParameters(Object[] iParameters, boolean iEvaluate) protected voidsetRoot(OBaseParser iQueryToParse, String iText) Methods inherited from class com.orientechnologies.orient.core.sql.filter.OSQLFilterItemAbstract
getCollateForField, getLastChainOperator, hasChainOperators, toString, transformValue
-
Field Details
-
method
-
configuredParameters
-
runtimeParameters
-
-
Constructor Details
-
OSQLMethodRuntime
-
OSQLMethodRuntime
-
-
Method Details
-
execute
public Object execute(Object iThis, OIdentifiable iCurrentRecord, Object iCurrentResult, OCommandContext iContext) Execute a method.- Parameters:
iCurrentRecord- Current recordiCurrentResult- TODOiContext-- Returns:
-
getValue
- Specified by:
getValuein interfaceOSQLFilterItem
-
getRoot
- Specified by:
getRootin classOSQLFilterItemAbstract
-
setRoot
- Specified by:
setRootin classOSQLFilterItemAbstract
-
setParameters
-
getMethod
-
getConfiguredParameters
-
getRuntimeParameters
-
compareTo
- Specified by:
compareToin interfaceComparable<OSQLMethodRuntime>
-