public interface VertexQuery extends Query
Query.Compare| Modifier and Type | Method and Description |
|---|---|
long |
count()
Execute the query and return the number of edges that are unfiltered.
|
VertexQuery |
direction(Direction direction)
The direction of the edges to retrieve.
|
VertexQuery |
has(String key)
Filter out elements that do not have a property with provided key.
|
VertexQuery |
has(String key,
Object value)
Filter out elements that do not have a property value equal to provided value.
|
VertexQuery |
has(String key,
Predicate predicate,
Object value)
Filter out the element if it does not have a property with a comparable value.
|
<T extends Comparable<T>> |
has(String key,
T value,
Query.Compare compare)
Deprecated.
|
VertexQuery |
hasNot(String key)
Filter out elements that have a property with provided key.
|
VertexQuery |
hasNot(String key,
Object value)
Filter out elements that have a property value equal to provided value.
|
<T extends Comparable<?>> |
interval(String key,
T startValue,
T endValue)
Filter out the element of its property value is not within the provided interval.
|
VertexQuery |
labels(String... labels)
Filter out the edge if its label is not in set of provided labels.
|
VertexQuery |
limit(int limit)
Filter out the element if the take number of incident/adjacent elements to retrieve has already been reached.
|
Object |
vertexIds()
Return the raw ids of the vertices on the other end of the edges.
|
VertexQuery direction(Direction direction)
direction - whether to retrieve the incoming, outgoing, or both directionsVertexQuery labels(String... labels)
labels - the labels to check againstlong count()
Object vertexIds()
VertexQuery has(String key)
QueryVertexQuery hasNot(String key)
QueryVertexQuery has(String key, Object value)
QueryVertexQuery hasNot(String key, Object value)
QueryVertexQuery has(String key, Predicate predicate, Object value)
Query@Deprecated <T extends Comparable<T>> VertexQuery has(String key, T value, Query.Compare compare)
Query<T extends Comparable<?>> VertexQuery interval(String key, T startValue, T endValue)
QueryVertexQuery limit(int limit)
QueryCopyright © 2010-2014. All Rights Reserved.