@ParametersAreNonnullByDefault public class ElementVertexQuery extends IdVertexQuery<ElementVertexQuery,ModelGraph>
VertexQuery
for querying a ModelGraph
instance and its
components.graph
base
Modifier | Constructor and Description |
---|---|
protected |
ElementVertexQuery(com.tinkerpop.blueprints.VertexQuery base,
ModelGraph graph)
Constructs a new
IdVertexQuery . |
Modifier and Type | Method and Description |
---|---|
ElementVertexQuery |
hasPosition(int position)
Filter out elements that have a different position from the provided value.
|
ElementVertexQuery |
hasPositionBetween(int start,
int end)
Filter out elements that have a position that is not within the provided interval.
|
count, direction, labels, vertexIds
edge, edges, edges, has, has, has, has, hasNot, hasNot, interval, limit, me, vertex, vertices, vertices
getBaseElement
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected ElementVertexQuery(com.tinkerpop.blueprints.VertexQuery base, ModelGraph graph)
IdVertexQuery
.base
- the base querygraph
- the graph that owns this element@Nonnull public ElementVertexQuery hasPosition(int position)
position
- the expected position@Nonnull public ElementVertexQuery hasPositionBetween(int start, int end)
start
- the start positionend
- the end positionCopyright © 2013–2019 Atlanmod. All rights reserved.