public interface TitanIndexQuery
| Modifier and Type | Interface and Description |
|---|---|
static interface |
TitanIndexQuery.Result<V extends org.apache.tinkerpop.gremlin.structure.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<TitanEdge>> |
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<TitanVertexProperty>> |
properties()
Returns all properties that match the query in the indexing backend.
|
TitanIndexQuery |
setElementIdentifier(String identifier)
Sets the element identifier string that is used by this query builder as the token to identifier key references
in the query string.
|
Iterable<TitanIndexQuery.Result<TitanVertex>> |
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 - TitanIndexQuery setElementIdentifier(String identifier)
identifier - The element identifier which must not be blankIterable<TitanIndexQuery.Result<TitanVertex>> vertices()
Iterable<TitanIndexQuery.Result<TitanEdge>> edges()
Iterable<TitanIndexQuery.Result<TitanVertexProperty>> properties()
Copyright © 2012–2015. All rights reserved.