public class OSQLFunctionShortestPath extends OSQLFunctionMathAbstract
Modifier and Type | Field and Description |
---|---|
protected static float |
DISTANCE |
static String |
NAME |
static String |
PARAM_MAX_DEPTH |
configuredParameters
maxParams, minParams, name
Constructor and Description |
---|
OSQLFunctionShortestPath() |
Modifier and Type | Method and Description |
---|---|
List<ORID> |
execute(Object iThis,
OIdentifiable iCurrentRecord,
Object iCurrentResult,
Object[] iParams,
OCommandContext iContext)
Process a record.
|
String |
getSyntax()
Returns a convenient SQL String representation of the function.
|
protected List<ORID> |
walkLeft(com.orientechnologies.orient.core.sql.functions.graph.OSQLFunctionShortestPath.OShortestPathContext ctx) |
protected List<ORID> |
walkRight(com.orientechnologies.orient.core.sql.functions.graph.OSQLFunctionShortestPath.OShortestPathContext ctx) |
aggregateResults, getClassWithMorePrecision, getContextValue, shouldMergeDistributedResult
config, toString
filterResult, getDistributedStorageId, getMaxParams, getMinParams, getName, getResult, getSingleItem, getSingleProperty, mergeDistributedResult, returnDistributedResult, setResult
public static final String NAME
public static final String PARAM_MAX_DEPTH
protected static final float DISTANCE
public List<ORID> execute(Object iThis, OIdentifiable iCurrentRecord, Object iCurrentResult, Object[] iParams, OCommandContext iContext)
OSQLFunction
iCurrentRecord
- : current recordiCurrentResult
- TODOiParams
- : function parameters, number is ensured to be within minParams and maxParams.iContext
- : object calling this functionpublic String getSyntax()
OSQLFunction
Example :
myFunction( param1, param2, [optionalParam3])
This text will be used in exception messages.
protected List<ORID> walkLeft(com.orientechnologies.orient.core.sql.functions.graph.OSQLFunctionShortestPath.OShortestPathContext ctx)
Copyright © 2009–2020 OrientDB. All rights reserved.