|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StoreQuery
An immutable query that a Store
can execute
Nested Class Summary | |
---|---|
static interface |
StoreQuery.Ordering
An attribute / direction ordering pair |
Method Summary | |
---|---|
List<AggregatorInstance<?>> |
getAggregatorInstances()
Get the requested aggregator instances |
List<Aggregator> |
getAggregators()
Get the requested aggregators |
Cache |
getCache()
Get the cache this query originated from |
Criteria |
getCriteria()
Get the search criteria |
ExecutionHints |
getExecutionHints()
Get execution hints for this query |
List<StoreQuery.Ordering> |
getOrdering()
Get the requested search orderings |
String[] |
getTargets()
Deprecated. |
Set<Attribute<?>> |
groupByAttributes()
Get the set of attributes to group result set by |
int |
maxResults()
Get the maximum number of results to return |
Set<Attribute<?>> |
requestedAttributes()
Get the set of attributes requested by this query |
boolean |
requestsKeys()
Are keys requested? |
boolean |
requestsValues()
Are values requested? |
void |
targets(String[] targets)
Deprecated. |
Method Detail |
---|
Criteria getCriteria()
boolean requestsKeys()
boolean requestsValues()
Cache getCache()
@Deprecated String[] getTargets()
Meanwhile, this is used to keep the ordering on BMQL created Queries. Yet, QueryManagerBuilder
, which creates the QueryManager
, doesn't let us qualify the
Query
type further to add this "ordering" concept of "targets" to it.
And this "ordering" shouldn't become part of the QueryManager API neither as each implementation might require something different.
@Deprecated void targets(String[] targets)
getTargets()
Set<Attribute<?>> requestedAttributes()
Set<Attribute<?>> groupByAttributes()
List<StoreQuery.Ordering> getOrdering()
int maxResults()
List<Aggregator> getAggregators()
ExecutionHints getExecutionHints()
List<AggregatorInstance<?>> getAggregatorInstances()
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |