
public class OSQLFunctionShortestPath extends OSQLFunctionMathAbstract
| Modifier and Type | Field and Description |
|---|---|
protected static float |
DISTANCE |
static String |
NAME |
static String |
PARAM_MAX_DEPTH |
configuredParametersmaxParams, 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 convinient SQL String representation of the function.
|
protected List<ORID> |
walkLeft(com.orientechnologies.orient.graph.sql.functions.OSQLFunctionShortestPath.OShortestPathContext ctx) |
protected List<ORID> |
walkRight(com.orientechnologies.orient.graph.sql.functions.OSQLFunctionShortestPath.OShortestPathContext ctx) |
aggregateResults, getClassWithMorePrecision, getContextValue, shouldMergeDistributedResultconfig, toStringfilterResult, getDistributedStorageId, getMaxParams, getMinParams, getName, getResult, mergeDistributedResult, returnDistributedResult, setResultpublic 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)
OSQLFunctioniCurrentRecord - : current recordiCurrentResult - TODOiParams - : function parameters, number is ensured to be within minParams and maxParams.iContext - : object calling this functionpublic String getSyntax()
OSQLFunctionExample :
myFunction( param1, param2, [optionalParam3])This text will be used in exception messages.
protected List<ORID> walkLeft(com.orientechnologies.orient.graph.sql.functions.OSQLFunctionShortestPath.OShortestPathContext ctx)
Copyright © 2009–2025 OrientDB. All rights reserved.