public interface TitanGraphQuery<Q extends TitanGraphQuery<Q>>
extends com.tinkerpop.blueprints.GraphQuery
TitanManagement for more information
on how to define index structures in Titan.| Modifier and Type | Method and Description |
|---|---|
QueryDescription |
describeForEdges()
Returns a description of this query for edges as a
QueryDescription object. |
QueryDescription |
describeForProperties()
Returns a description of this query for properties as a
QueryDescription object. |
QueryDescription |
describeForVertices()
Returns a description of this query for vertices as a
QueryDescription object. |
Iterable<com.tinkerpop.blueprints.Edge> |
edges()
Returns all edges that match the conditions.
|
Q |
has(PropertyKey key,
TitanPredicate predicate,
Object condition)
The returned element must have a property for the given key that matches the condition according to the
specified relation
|
Q |
has(String key) |
Q |
has(String key,
Object value) |
Q |
has(String key,
com.tinkerpop.blueprints.Predicate predicate,
Object condition)
The returned element must have a property for the given key that matches the condition according to the
specified relation
|
<T extends Comparable<T>> |
has(String key,
T value,
com.tinkerpop.blueprints.Query.Compare compare)
Deprecated.
|
Q |
hasNot(String key) |
Q |
hasNot(String key,
Object value) |
<T extends Comparable<?>> |
interval(String key,
T startValue,
T endValue) |
Q |
limit(int max)
Limits the size of the returned result set
|
Q |
orderBy(PropertyKey key,
Order order)
Orders the element results of this query according
to their property for the given key in the given order (increasing/decreasing).
|
Q |
orderBy(String key,
Order order)
Orders the element results of this query according
to their property for the given key in the given order (increasing/decreasing).
|
Iterable<TitanProperty> |
properties()
Returns all properties that match the conditions
|
Iterable<com.tinkerpop.blueprints.Vertex> |
vertices()
Returns all vertices that match the conditions.
|
Q has(String key, com.tinkerpop.blueprints.Predicate predicate, Object condition)
has in interface com.tinkerpop.blueprints.GraphQueryhas in interface com.tinkerpop.blueprints.Querykey - Key that identifies the propertypredicate - Predicate between property and conditioncondition - Q has(PropertyKey key, TitanPredicate predicate, Object condition)
key - Key that identifies the propertypredicate - Relation between property and conditioncondition - Q has(String key)
has in interface com.tinkerpop.blueprints.GraphQueryhas in interface com.tinkerpop.blueprints.QueryQ hasNot(String key)
hasNot in interface com.tinkerpop.blueprints.GraphQueryhasNot in interface com.tinkerpop.blueprints.QueryQ has(String key, Object value)
has in interface com.tinkerpop.blueprints.GraphQueryhas in interface com.tinkerpop.blueprints.QueryQ hasNot(String key, Object value)
hasNot in interface com.tinkerpop.blueprints.GraphQueryhasNot in interface com.tinkerpop.blueprints.Query@Deprecated <T extends Comparable<T>> Q has(String key, T value, com.tinkerpop.blueprints.Query.Compare compare)
has in interface com.tinkerpop.blueprints.GraphQueryhas in interface com.tinkerpop.blueprints.Query<T extends Comparable<?>> Q interval(String key, T startValue, T endValue)
interval in interface com.tinkerpop.blueprints.GraphQueryinterval in interface com.tinkerpop.blueprints.QueryQ limit(int max)
limit in interface com.tinkerpop.blueprints.GraphQuerylimit in interface com.tinkerpop.blueprints.Querymax - The maximum number of results to returnQ orderBy(String key, Order order)
key - The key of the properties on which to orderorder - the ordering directionQ orderBy(PropertyKey key, Order order)
key - The key of the properties on which to orderorder - the ordering directionIterable<com.tinkerpop.blueprints.Vertex> vertices()
vertices in interface com.tinkerpop.blueprints.QueryIterable<com.tinkerpop.blueprints.Edge> edges()
edges in interface com.tinkerpop.blueprints.QueryIterable<TitanProperty> properties()
QueryDescription describeForVertices()
QueryDescription object.
This can be used to inspect the query plan for this query. Note, that calling this method
does not actually execute the query but only optimizes it and constructs a query plan.QueryDescription describeForEdges()
QueryDescription object.
This can be used to inspect the query plan for this query. Note, that calling this method
does not actually execute the query but only optimizes it and constructs a query plan.QueryDescription describeForProperties()
QueryDescription object.
This can be used to inspect the query plan for this query. Note, that calling this method
does not actually execute the query but only optimizes it and constructs a query plan.Copyright © 2012–2014. All rights reserved.