public interface TitanGraphQuery
extends com.tinkerpop.blueprints.GraphQuery
TypeMaker.indexed(Class)
and TypeMaker.indexed(String, Class)
.Modifier and Type | Method and Description |
---|---|
Iterable<com.tinkerpop.blueprints.Edge> |
edges()
Returns all edges that match the conditions.
|
TitanGraphQuery |
has(String key,
com.tinkerpop.blueprints.Query.Compare relation,
Object value)
The returned element must have a property for the given key that matches the condition according to the
specified relation
|
TitanGraphQuery |
has(String key,
com.thinkaurelius.titan.graphdb.query.keycondition.Relation relation,
Object condition)
The returned element must have a property for the given key that matches the condition according to the
specified relation
|
TitanGraphQuery |
has(TitanKey key,
com.thinkaurelius.titan.graphdb.query.keycondition.Relation relation,
Object condition)
The returned element must have a property for the given key that matches the condition according to the
specified relation
|
TitanGraphQuery |
limit(long max)
Limits the size of the returned result set
|
Iterable<com.tinkerpop.blueprints.Vertex> |
vertices()
Returns all vertices that match the conditions.
|
TitanGraphQuery has(String key, com.thinkaurelius.titan.graphdb.query.keycondition.Relation relation, Object condition)
key
- Key that identifies the propertyrelation
- Relation between property and conditioncondition
- TitanGraphQuery has(String key, com.tinkerpop.blueprints.Query.Compare relation, Object value)
key
- Key that identifies the propertyrelation
- Relation between property and conditionvalue
- TitanGraphQuery has(TitanKey key, com.thinkaurelius.titan.graphdb.query.keycondition.Relation relation, Object condition)
key
- Key that identifies the propertyrelation
- Relation between property and conditioncondition
- Iterable<com.tinkerpop.blueprints.Vertex> vertices()
vertices
in interface com.tinkerpop.blueprints.Query
Iterable<com.tinkerpop.blueprints.Edge> edges()
edges
in interface com.tinkerpop.blueprints.Query
TitanGraphQuery limit(long max)
limit
in interface com.tinkerpop.blueprints.GraphQuery
limit
in interface com.tinkerpop.blueprints.Query
max
- The maximum number of results to returnCopyright © 2012-2013. All Rights Reserved.