Package | Description |
---|---|
com.arangodb | |
com.arangodb.impl | |
com.arangodb.util |
Modifier and Type | Method and Description |
---|---|
<V,E> ShortestPathEntity<V,E> |
InternalCursorDriver.getShortestPath(String database,
String graphName,
Object startVertexExample,
Object endVertexExample,
ShortestPathOptions shortestPathOptions,
AqlQueryOptions aqlQueryOptions,
Class<V> vertexClass,
Class<E> edgeClass,
ArangoDriver driver)
Get the shortest path from a vertex to another vertex
|
<V,E> ShortestPathEntity<V,E> |
ArangoDriver.graphGetShortestPath(String graphName,
Object startVertexExample,
Object endVertexExample,
ShortestPathOptions shortestPathOptions,
Class<V> vertexClass,
Class<E> edgeClass)
Deprecated.
use AQL instead
|
Modifier and Type | Method and Description |
---|---|
<V,E> ShortestPathEntity<V,E> |
InternalCursorDriverImpl.getShortestPath(String database,
String graphName,
Object startVertexExample,
Object endVertexExample,
ShortestPathOptions shortestPathOptions,
AqlQueryOptions aqlQueryOptions,
Class<V> vertexClass,
Class<E> edgeClass,
ArangoDriver driver)
Deprecated.
use AQL instead
|
Modifier and Type | Method and Description |
---|---|
ShortestPathOptions |
ShortestPathOptions.setDefaultWeight(Long defaultWeight)
Only used with the option weight.
|
ShortestPathOptions |
ShortestPathOptions.setDirection(Direction direction)
The direction of the edges as a string.
|
ShortestPathOptions |
ShortestPathOptions.setEdgeCollectionRestriction(List<String> edgeCollectionRestriction)
One or multiple edge collection names.
|
ShortestPathOptions |
ShortestPathOptions.setEndVertexCollectionRestriction(List<String> endVertexCollectionRestriction)
One or multiple vertex collection names.
|
ShortestPathOptions |
ShortestPathOptions.setIncludeData(Boolean includeData)
set include data to be compatible with older versions of AnrangoDB
|
ShortestPathOptions |
ShortestPathOptions.setStartVertexCollectionRestriction(List<String> startVertexCollectionRestriction)
One or multiple vertex collection names.
|
ShortestPathOptions |
ShortestPathOptions.setWeight(String weight)
The name of the attribute of the edges containing the length as a string.
|
Modifier and Type | Method and Description |
---|---|
static String |
GraphQueryUtil.createShortestPathQuery(ArangoDriver driver,
String database,
String graphName,
Object startVertexExample,
Object endVertexExample,
ShortestPathOptions shortestPathOptions,
Class<?> vertexClass,
Class<?> edgeClass,
MapBuilder bindVars) |
Copyright © 2012–2016 ArangoDB GmbH. All rights reserved.