private class CacheQuery.StoreQueryImpl extends java.lang.Object implements StoreQuery
StoreQuery.Ordering
Modifier and Type | Field and Description |
---|---|
private java.util.List<AggregatorInstance<?>> |
copiedAggregators |
private java.util.Set<Attribute<?>> |
copiedAttributes |
private Criteria |
copiedCriteria |
private java.util.Set<Attribute<?>> |
copiedGroupByAttributes |
private boolean |
copiedIncludeKeys |
private boolean |
copiedIncludeValues |
private int |
copiedMaxResults |
private java.util.List<StoreQuery.Ordering> |
copiedOrdering |
Modifier | Constructor and Description |
---|---|
private |
StoreQueryImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.List<AggregatorInstance<?>> |
getAggregatorInstances()
Get the requested aggregators
|
Cache |
getCache()
Get the cache this query originated from
|
Criteria |
getCriteria()
Get the search criteria
|
java.util.List<StoreQuery.Ordering> |
getOrdering()
Get the requested search orderings
|
java.util.Set<Attribute<?>> |
groupByAttributes()
Get the set of attributes to group result set by
|
int |
maxResults()
Get the maximum number of results to return
|
java.util.Set<Attribute<?>> |
requestedAttributes()
Get the set of attributes requested by this query
|
boolean |
requestsKeys()
Are keys requested?
|
boolean |
requestsValues()
Are values requested?
|
private final Criteria copiedCriteria
private final boolean copiedIncludeKeys
private final boolean copiedIncludeValues
private final java.util.Set<Attribute<?>> copiedAttributes
private final int copiedMaxResults
private final java.util.List<StoreQuery.Ordering> copiedOrdering
private final java.util.List<AggregatorInstance<?>> copiedAggregators
private final java.util.Set<Attribute<?>> copiedGroupByAttributes
public Criteria getCriteria()
StoreQuery
getCriteria
in interface StoreQuery
public boolean requestsKeys()
StoreQuery
requestsKeys
in interface StoreQuery
public boolean requestsValues()
StoreQuery
requestsValues
in interface StoreQuery
public Cache getCache()
StoreQuery
getCache
in interface StoreQuery
public java.util.Set<Attribute<?>> requestedAttributes()
StoreQuery
requestedAttributes
in interface StoreQuery
public java.util.Set<Attribute<?>> groupByAttributes()
StoreQuery
groupByAttributes
in interface StoreQuery
public int maxResults()
StoreQuery
maxResults
in interface StoreQuery
public java.util.List<StoreQuery.Ordering> getOrdering()
StoreQuery
getOrdering
in interface StoreQuery
public java.util.List<AggregatorInstance<?>> getAggregatorInstances()
StoreQuery
getAggregatorInstances
in interface StoreQuery