public interface JanusGraphIndexQuery
Modifier and Type | Interface and Description |
---|---|
static interface |
JanusGraphIndexQuery.Result<V extends org.apache.tinkerpop.gremlin.structure.Element>
Container of a query result with its score.
|
Modifier and Type | Method and Description |
---|---|
JanusGraphIndexQuery |
addParameter(Parameter para)
Adds the given parameter to the list of parameters of this query.
|
JanusGraphIndexQuery |
addParameters(Iterable<Parameter> paras)
Adds the given parameters to the list of parameters of this query.
|
JanusGraphIndexQuery |
addParameters(Parameter... paras)
Adds the given parameters to the list of parameters of this query.
|
Iterable<JanusGraphIndexQuery.Result<JanusGraphEdge>> |
edges()
Returns all edges that match the query in the indexing backend.
|
JanusGraphIndexQuery |
limit(int limit)
Specifies the maxium number of elements to return
|
JanusGraphIndexQuery |
offset(int offset)
Specifies the offset of the query.
|
Iterable<JanusGraphIndexQuery.Result<JanusGraphVertexProperty>> |
properties()
Returns all properties that match the query in the indexing backend.
|
JanusGraphIndexQuery |
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<JanusGraphIndexQuery.Result<JanusGraphVertex>> |
vertices()
Returns all vertices that match the query in the indexing backend.
|
JanusGraphIndexQuery limit(int limit)
limit
- JanusGraphIndexQuery offset(int offset)
offset
- JanusGraphIndexQuery addParameter(Parameter para)
para
- JanusGraphIndexQuery addParameters(Iterable<Parameter> paras)
paras
- JanusGraphIndexQuery addParameters(Parameter... paras)
paras
- JanusGraphIndexQuery setElementIdentifier(String identifier)
identifier
- The element identifier which must not be blankIterable<JanusGraphIndexQuery.Result<JanusGraphVertex>> vertices()
Iterable<JanusGraphIndexQuery.Result<JanusGraphEdge>> edges()
Iterable<JanusGraphIndexQuery.Result<JanusGraphVertexProperty>> properties()
Copyright © 2012–2017. All rights reserved.