public class JointIndexQuery extends BaseQuery implements BackendQuery<JointIndexQuery>
GraphCentricQuery that gets executed against an indexing backend or the index store
by the query processor of the enclosing transaction.
This query itself can contain multiple sub-queries which are individually executed by the IndexSerializer
and the result sets merged.
Those sub-queries are either targeting an external indexing backend or the internal index store which is a distinction this
query keeps track of through the sub-class JointIndexQuery.Subquery, since their definition and execution differs starkly.| Modifier and Type | Class and Description |
|---|---|
static class |
JointIndexQuery.Subquery |
| Constructor and Description |
|---|
JointIndexQuery() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(ExternalIndexType index,
IndexQuery query) |
void |
add(InternalIndexType index,
KeySliceQuery query) |
boolean |
equals(Object other) |
JointIndexQuery.Subquery |
getQuery(int pos) |
int |
hashCode() |
boolean |
isEmpty() |
int |
size() |
String |
toString() |
JointIndexQuery |
updateLimit(int newLimit)
Creates a new query identical to the current one but with the specified limit.
|
getLimit, hasLimit, setLimitpublic void add(ExternalIndexType index, IndexQuery query)
public void add(InternalIndexType index, KeySliceQuery query)
public int size()
public JointIndexQuery.Subquery getQuery(int pos)
public boolean isEmpty()
public JointIndexQuery updateLimit(int newLimit)
BackendQueryupdateLimit in interface BackendQuery<JointIndexQuery>Copyright © 2012–2014. All rights reserved.