public class GraphEdgesOptions extends AbstractOptions implements OptionsInterface
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 |
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 |
getMaxIterations()
the maximum number of iterations that the traversal is allowed to
perform.
|
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.
|
void |
setIncludeData(Boolean includeData)
set include data to be compatible with older versions of AnrangoDB
|
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 |
setMaxIterations(Integer maxIterations)
the maximum number of iterations that the traversal is allowed to
perform.
|
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.
|
Map<String,Object> |
toMap() |
putAttribute, putAttribute, putAttributeCollection, putAttributeToLower, putAttributeToLower
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 getMaxIterations()
public GraphEdgesOptions setMaxIterations(Integer maxIterations)
maxIterations
- public Boolean getIncludeData()
public void setIncludeData(Boolean includeData)
includeData
- public Map<String,Object> toMap()
toMap
in interface OptionsInterface
Copyright © 2012–2016 ArangoDB GmbH. All rights reserved.