public class GraphEdgesOptions extends Object
| Constructor and Description |
|---|
GraphEdgesOptions() |
| Modifier and Type | Method and Description |
|---|---|
Direction |
getDirection()
The direction of the edges as a string.
|
List<String> |
getEdgeCollectionRestriction()
One or multiple edge collection names.
|
Object |
getEdgeExamples()
A filter example for the edges
|
List<String> |
getEndVertexCollectionRestriction()
One or multiple vertex collection names.
|
Boolean |
getIncludeData()
Get include data
|
Integer |
getLimit() |
Integer |
getMaxDepth()
Defines the maximal length of a path from an edge to a vertex (default is
1, which means only the edges directly connected to a vertex would be
returned).
|
Integer |
getMinDepth()
Defines the minimal length of a path from an edge to a vertex (default is
1, which means only the edges directly connected to a vertex would be
returned).
|
Object |
getNeighborExamples()
An example for the desired neighbors
|
List<String> |
getStartVertexCollectionRestriction()
One or multiple vertex collection names.
|
GraphEdgesOptions |
setDirection(Direction direction)
The direction of the edges as a string.
|
GraphEdgesOptions |
setEdgeCollectionRestriction(List<String> edgeCollectionRestriction)
One or multiple edge collection names.
|
GraphEdgesOptions |
setEdgeExamples(Object edgeExamples)
A filter example for the edges
|
GraphEdgesOptions |
setEndVertexCollectionRestriction(List<String> endVertexCollectionRestriction)
One or multiple vertex collection names.
|
GraphEdgesOptions |
setIncludeData(Boolean includeData)
set include data to be compatible with older versions of AnrangoDB
|
GraphEdgesOptions |
setLimit(Integer limit) |
GraphEdgesOptions |
setMaxDepth(Integer maxDepth)
Defines the maximal length of a path from an edge to a vertex (default is
1, which means only the edges directly connected to a vertex would be
returned).
|
GraphEdgesOptions |
setMinDepth(Integer minDepth)
Defines the minimal length of a path from an edge to a vertex (default is
1, which means only the edges directly connected to a vertex would be
returned).
|
GraphEdgesOptions |
setNeighborExamples(Object neighborExamples)
An example for the desired neighbors
|
GraphEdgesOptions |
setStartVertexCollectionRestriction(List<String> startVertexCollectionRestriction)
One or multiple vertex collection names.
|
public Direction getDirection()
public GraphEdgesOptions setDirection(Direction direction)
direction - public List<String> getEdgeCollectionRestriction()
public GraphEdgesOptions setEdgeCollectionRestriction(List<String> edgeCollectionRestriction)
edgeCollectionRestriction - public List<String> getStartVertexCollectionRestriction()
public GraphEdgesOptions setStartVertexCollectionRestriction(List<String> startVertexCollectionRestriction)
startVertexCollectionRestriction - public List<String> getEndVertexCollectionRestriction()
public GraphEdgesOptions setEndVertexCollectionRestriction(List<String> endVertexCollectionRestriction)
endVertexCollectionRestriction - public Object getEdgeExamples()
public GraphEdgesOptions setEdgeExamples(Object edgeExamples)
edgeExamples - public Object getNeighborExamples()
public GraphEdgesOptions setNeighborExamples(Object neighborExamples)
neighborExamples - public Integer getMinDepth()
public GraphEdgesOptions setMinDepth(Integer minDepth)
minDepth - public Integer getMaxDepth()
public GraphEdgesOptions setMaxDepth(Integer maxDepth)
maxDepth - public Integer getLimit()
public GraphEdgesOptions setLimit(Integer limit)
public Boolean getIncludeData()
public GraphEdgesOptions setIncludeData(Boolean includeData)
includeData - Copyright © 2012–2016 ArangoDB GmbH. All rights reserved.