Class OSQLFunctionMoveFiltered
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
com.orientechnologies.orient.core.sql.functions.graph.OSQLFunctionMoveFiltered
- All Implemented Interfaces:
OSQLFunction,OSQLFunctionFiltered
- Direct Known Subclasses:
OSQLFunctionIn,OSQLFunctionOut
public abstract class OSQLFunctionMoveFiltered
extends OSQLFunctionMove
implements OSQLFunctionFiltered
Created by luigidellaquila on 03/01/17.
-
Field Summary
FieldsFields inherited from class com.orientechnologies.orient.core.sql.functions.graph.OSQLFunctionMove
NAMEFields 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 TypeMethodDescriptionexecute(Object iThis, OIdentifiable iCurrentRecord, Object iCurrentResult, Object[] iParameters, Iterable<OIdentifiable> iPossibleResults, OCommandContext iContext) Process a record.protected abstract Objectmove(ODatabaseSession graph, OIdentifiable iArgument, String[] labels, Iterable<OIdentifiable> iPossibleResults) Methods inherited from class com.orientechnologies.orient.core.sql.functions.graph.OSQLFunctionMove
e2v, execute, getSyntax, move, v2e, v2vMethods 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, shouldMergeDistributedResultMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.orientechnologies.orient.core.sql.functions.OSQLFunction
aggregateResults, config, execute, filterResult, getMaxParams, getMinParams, getName, getResult, getSyntax, mergeDistributedResult, setResult, shouldMergeDistributedResult
-
Field Details
-
supernodeThreshold
protected static int supernodeThreshold
-
-
Constructor Details
-
OSQLFunctionMoveFiltered
public OSQLFunctionMoveFiltered() -
OSQLFunctionMoveFiltered
-
-
Method Details
-
execute
public Object execute(Object iThis, OIdentifiable iCurrentRecord, Object iCurrentResult, Object[] iParameters, Iterable<OIdentifiable> iPossibleResults, OCommandContext iContext) Description copied from interface:OSQLFunctionFilteredProcess a record.- Specified by:
executein interfaceOSQLFunctionFiltered- Parameters:
iThis-iCurrentRecord- : current recordiCurrentResult- TODOiParameters- : function parameters, number is ensured to be within minParams and maxParams.iPossibleResults- : a set of possible results (the function will return, as a result, only items contained in this collection)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
-
move
protected abstract Object move(ODatabaseSession graph, OIdentifiable iArgument, String[] labels, Iterable<OIdentifiable> iPossibleResults)
-