public class ShortestPathOptions extends Object
Constructor and Description |
---|
ShortestPathOptions() |
Modifier and Type | Method and Description |
---|---|
Long |
getDefaultWeight()
Only used with the option weight.
|
Direction |
getDirection()
The direction of the edges as a string.
|
List<String> |
getEdgeCollectionRestriction()
One or multiple edge collection names.
|
List<String> |
getEndVertexCollectionRestriction()
One or multiple vertex collection names.
|
Boolean |
getIncludeData()
Get include data
|
List<String> |
getStartVertexCollectionRestriction()
One or multiple vertex collection names.
|
String |
getWeight()
The name of the attribute of the edges containing the length as a string.
|
ShortestPathOptions |
setDefaultWeight(Long defaultWeight)
Only used with the option weight.
|
ShortestPathOptions |
setDirection(Direction direction)
The direction of the edges as a string.
|
ShortestPathOptions |
setEdgeCollectionRestriction(List<String> edgeCollectionRestriction)
One or multiple edge collection names.
|
ShortestPathOptions |
setEndVertexCollectionRestriction(List<String> endVertexCollectionRestriction)
One or multiple vertex collection names.
|
ShortestPathOptions |
setIncludeData(Boolean includeData)
set include data to be compatible with older versions of AnrangoDB
|
ShortestPathOptions |
setStartVertexCollectionRestriction(List<String> startVertexCollectionRestriction)
One or multiple vertex collection names.
|
ShortestPathOptions |
setWeight(String weight)
The name of the attribute of the edges containing the length as a string.
|
public Direction getDirection()
public ShortestPathOptions setDirection(Direction direction)
direction
- public List<String> getEdgeCollectionRestriction()
public ShortestPathOptions setEdgeCollectionRestriction(List<String> edgeCollectionRestriction)
edgeCollectionRestriction
- public List<String> getStartVertexCollectionRestriction()
public ShortestPathOptions setStartVertexCollectionRestriction(List<String> startVertexCollectionRestriction)
startVertexCollectionRestriction
- public List<String> getEndVertexCollectionRestriction()
public ShortestPathOptions setEndVertexCollectionRestriction(List<String> endVertexCollectionRestriction)
endVertexCollectionRestriction
- public String getWeight()
public ShortestPathOptions setWeight(String weight)
weight
- public Long getDefaultWeight()
public ShortestPathOptions setDefaultWeight(Long defaultWeight)
defaultWeight
- public Boolean getIncludeData()
public ShortestPathOptions setIncludeData(Boolean includeData)
includeData
- Copyright © 2012–2016 ArangoDB GmbH. All rights reserved.