Class OSQLFunctionMove
java.lang.Object
com.orientechnologies.orient.core.sql.functions.OSQLFunctionAbstract
com.orientechnologies.orient.core.sql.functions.OSQLFunctionConfigurableAbstract
com.orientechnologies.orient.core.sql.functions.graph.OSQLFunctionMove
- All Implemented Interfaces:
OSQLFunction
- Direct Known Subclasses:
OSQLFunctionBoth,OSQLFunctionBothE,OSQLFunctionBothV,OSQLFunctionInE,OSQLFunctionInV,OSQLFunctionMoveFiltered,OSQLFunctionOutE,OSQLFunctionOutV
Created by luigidellaquila on 03/01/17.
-
Field Summary
FieldsFields inherited from class com.orientechnologies.orient.core.sql.functions.OSQLFunctionConfigurableAbstract
configuredParametersFields inherited from class com.orientechnologies.orient.core.sql.functions.OSQLFunctionAbstract
maxParams, minParams, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Objecte2v(ODatabaseSession graph, OIdentifiable iRecord, ODirection iDirection, String[] iLabels) execute(Object iThis, OIdentifiable iCurrentRecord, Object iCurrentResult, Object[] iParameters, OCommandContext iContext) Process a record.Returns a convenient SQL String representation of the function.protected abstract Objectmove(ODatabaseSession db, OIdentifiable iRecord, String[] iLabels) protected Objectv2e(ODatabaseSession graph, OIdentifiable iRecord, ODirection iDirection, String[] iLabels) protected Objectv2v(ODatabaseSession graph, OIdentifiable iRecord, ODirection iDirection, String[] iLabels) Methods inherited from class com.orientechnologies.orient.core.sql.functions.OSQLFunctionConfigurableAbstract
config, toStringMethods inherited from class com.orientechnologies.orient.core.sql.functions.OSQLFunctionAbstract
aggregateResults, filterResult, getDistributedStorageId, getMaxParams, getMinParams, getName, getResult, getSingleItem, getSingleProperty, mergeDistributedResult, returnDistributedResult, setResult, shouldMergeDistributedResult
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
OSQLFunctionMove
public OSQLFunctionMove() -
OSQLFunctionMove
-
-
Method Details
-
move
-
getSyntax
Description copied from interface:OSQLFunctionReturns a convenient SQL String representation of the function.Example :
myFunction( param1, param2, [optionalParam3])
This text will be used in exception messages.
- Returns:
- String , never null.
-
execute
public Object execute(Object iThis, OIdentifiable iCurrentRecord, Object iCurrentResult, Object[] iParameters, OCommandContext iContext) Description copied from interface:OSQLFunctionProcess a record.- Parameters:
iThis-iCurrentRecord- : current recordiCurrentResult- TODOiParameters- : function parameters, number is ensured to be within minParams and maxParams.iContext- : object calling this function- Returns:
- function result, can be null. Special cases : can be null if function aggregate results, can be null if function filter results : this mean result is excluded
-
v2v
protected Object v2v(ODatabaseSession graph, OIdentifiable iRecord, ODirection iDirection, String[] iLabels) -
v2e
protected Object v2e(ODatabaseSession graph, OIdentifiable iRecord, ODirection iDirection, String[] iLabels) -
e2v
protected Object e2v(ODatabaseSession graph, OIdentifiable iRecord, ODirection iDirection, String[] iLabels)
-