public interface Query
| Modifier and Type | Method and Description |
|---|---|
Iterable<Edge> |
edges() |
Iterable<Edge> |
edges(EnumSet<FetchHint> fetchHints) |
Iterable<Edge> |
edges(String label) |
Iterable<Edge> |
edges(String label,
EnumSet<FetchHint> fetchHints) |
<T> Query |
has(String propertyName,
Predicate predicate,
T value)
Adds a filter to the query.
|
<T> Query |
has(String propertyName,
T value)
Adds an
Compare.EQUAL filter to the query. |
Query |
limit(int count) |
<T> Query |
range(String propertyName,
T startValue,
T endValue)
Queries for properties in the given range.
|
Query |
skip(int count) |
Iterable<Vertex> |
vertices() |
Iterable<Vertex> |
vertices(EnumSet<FetchHint> fetchHints) |
<T> Query range(String propertyName, T startValue, T endValue)
propertyName - Name of property.startValue - Inclusive start value.endValue - Inclusive end value.<T> Query has(String propertyName, T value)
Compare.EQUAL filter to the query.propertyName - The name of the property to query on.value - The value of the property to query for.<T> Query has(String propertyName, Predicate predicate, T value)
propertyName - The name of the property to query on.predicate - One of Compare,
TextPredicate,
or GeoCompare.value - The value of the property to query for.Query skip(int count)
Query limit(int count)
Copyright © 2014–2015. All rights reserved.