public class VertexCentricQuery extends BaseVertexCentricQuery implements ElementQuery<TitanRelation,SliceQuery>
ElementQuery so that it can be executed by
QueryProcessor. Most of the query definition
is in the extended BaseVertexCentricQuery - this class only adds the base vertex to the mix.condition, direction, queries| Modifier | Constructor and Description |
|---|---|
protected |
VertexCentricQuery(InternalVertex vertex)
Constructs an empty query
|
|
VertexCentricQuery(InternalVertex vertex,
BaseVertexCentricQuery base) |
|
VertexCentricQuery(InternalVertex vertex,
Condition<TitanRelation> condition,
org.apache.tinkerpop.gremlin.structure.Direction direction,
List<BackendQueryHolder<SliceQuery>> queries,
OrderList orders,
int limit) |
| Modifier and Type | Method and Description |
|---|---|
static VertexCentricQuery |
emptyQuery(InternalVertex vertex) |
Comparator |
getSortOrder()
Returns the expected sort order of this query if any was specified.
|
InternalVertex |
getVertex() |
boolean |
hasDuplicateResults()
Whether the combination of the individual sub-queries can result in duplicate
results.
|
boolean |
isSorted()
Whether this query expects the results to be in a particular sort order.
|
String |
toString() |
emptyQuery, getCondition, getDirection, getOrders, getQueries, getSubQuery, isEmpty, isSimple, matches, numSubQueries, observeWithgetLimit, hasLimit, setLimitclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSubQuery, isEmpty, matches, numSubQueriespublic VertexCentricQuery(InternalVertex vertex, Condition<TitanRelation> condition, org.apache.tinkerpop.gremlin.structure.Direction direction, List<BackendQueryHolder<SliceQuery>> queries, OrderList orders, int limit)
public VertexCentricQuery(InternalVertex vertex, BaseVertexCentricQuery base)
protected VertexCentricQuery(InternalVertex vertex)
vertex - public static VertexCentricQuery emptyQuery(InternalVertex vertex)
public InternalVertex getVertex()
public boolean isSorted()
ElementQueryisSorted in interface ElementQuery<TitanRelation,SliceQuery>public Comparator getSortOrder()
ElementQueryElementQuery.isSorted() first.getSortOrder in interface ElementQuery<TitanRelation,SliceQuery>public boolean hasDuplicateResults()
ElementQueryhasDuplicateResults in interface ElementQuery<TitanRelation,SliceQuery>public String toString()
toString in class BaseVertexCentricQueryCopyright © 2012–2015. All rights reserved.