public abstract class OSQLFunctionMove extends OSQLFunctionConfigurableAbstract
Modifier and Type | Field and Description |
---|---|
static String |
NAME |
configuredParameters
maxParams, minParams, name
Constructor and Description |
---|
OSQLFunctionMove() |
OSQLFunctionMove(String iName,
int iMin,
int iMax) |
Modifier and Type | Method and Description |
---|---|
protected Object |
e2v(ODatabase graph,
OIdentifiable iRecord,
ODirection iDirection,
String[] iLabels) |
Object |
execute(Object iThis,
OIdentifiable iCurrentRecord,
Object iCurrentResult,
Object[] iParameters,
OCommandContext iContext)
Process a record.
|
String |
getSyntax()
Returns a convenient SQL String representation of the function.
|
protected abstract Object |
move(ODatabase db,
OIdentifiable iRecord,
String[] iLabels) |
protected Object |
v2e(ODatabase graph,
OIdentifiable iRecord,
ODirection iDirection,
String[] iLabels) |
protected Object |
v2v(ODatabase graph,
OIdentifiable iRecord,
ODirection iDirection,
String[] iLabels) |
config, toString
aggregateResults, filterResult, getDistributedStorageId, getMaxParams, getMinParams, getName, getResult, getSingleItem, getSingleProperty, mergeDistributedResult, returnDistributedResult, setResult, shouldMergeDistributedResult
public static final String NAME
public OSQLFunctionMove()
public OSQLFunctionMove(String iName, int iMin, int iMax)
protected abstract Object move(ODatabase db, OIdentifiable iRecord, String[] iLabels)
public String getSyntax()
OSQLFunction
Example :
myFunction( param1, param2, [optionalParam3])
This text will be used in exception messages.
public Object execute(Object iThis, OIdentifiable iCurrentRecord, Object iCurrentResult, Object[] iParameters, OCommandContext iContext)
OSQLFunction
iCurrentRecord
- : current recordiCurrentResult
- TODOiParameters
- : function parameters, number is ensured to be within minParams and maxParams.iContext
- : object calling this functionprotected Object v2v(ODatabase graph, OIdentifiable iRecord, ODirection iDirection, String[] iLabels)
protected Object v2e(ODatabase graph, OIdentifiable iRecord, ODirection iDirection, String[] iLabels)
protected Object e2v(ODatabase graph, OIdentifiable iRecord, ODirection iDirection, String[] iLabels)
Copyright © 2009–2020 OrientDB. All rights reserved.