public interface TitanIndexQuery
| Modifier and Type | Interface and Description |
|---|---|
static interface |
TitanIndexQuery.Result<V extends com.tinkerpop.blueprints.Element>
Container of a query result with its score.
|
| Modifier and Type | Method and Description |
|---|---|
TitanIndexQuery |
addParameter(Parameter para)
Adds the given parameter to the list of parameters of this query.
|
TitanIndexQuery |
addParameters(Iterable<Parameter> paras)
Adds the given parameters to the list of parameters of this query.
|
TitanIndexQuery |
addParameters(Parameter... paras)
Adds the given parameters to the list of parameters of this query.
|
Iterable<TitanIndexQuery.Result<com.tinkerpop.blueprints.Edge>> |
edges()
Returns all edges that match the query in the indexing backend.
|
TitanIndexQuery |
limit(int limit)
Specifies the maxium number of elements to return
|
TitanIndexQuery |
offset(int offset)
Specifies the offset of the query.
|
Iterable<TitanIndexQuery.Result<TitanProperty>> |
properties()
Returns all properties that match the query in the indexing backend.
|
Iterable<TitanIndexQuery.Result<com.tinkerpop.blueprints.Vertex>> |
vertices()
Returns all vertices that match the query in the indexing backend.
|
TitanIndexQuery limit(int limit)
limit - TitanIndexQuery offset(int offset)
offset - TitanIndexQuery addParameter(Parameter para)
para - TitanIndexQuery addParameters(Iterable<Parameter> paras)
paras - TitanIndexQuery addParameters(Parameter... paras)
paras - Iterable<TitanIndexQuery.Result<com.tinkerpop.blueprints.Vertex>> vertices()
Iterable<TitanIndexQuery.Result<com.tinkerpop.blueprints.Edge>> edges()
Iterable<TitanIndexQuery.Result<TitanProperty>> properties()
Copyright © 2012–2014. All rights reserved.