|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Results
Results object for an execution of a Query
. Instances of this class
are thread safe
Method Summary | |
---|---|
List<Result> |
all()
Retrieve all of the cache results in one shot. |
void |
discard()
Discard this query result. |
boolean |
hasAggregators()
Whether the results contains aggregates |
boolean |
hasAttributes()
Whether the Results have cache attributes included. |
boolean |
hasKeys()
Whether the Results have cache keys included. |
boolean |
hasValues()
Whether the Results have cache values included. |
List<Result> |
range(int start,
int count)
Retrieve a subset of the cache results. |
int |
size()
Results size |
Method Detail |
---|
void discard()
SearchException
List<Result> all() throws SearchException
SearchException
List<Result> range(int start, int count) throws SearchException, IndexOutOfBoundsException
start
- starting index to accesscount
- the number of results to return
SearchException
IndexOutOfBoundsException
int size()
boolean hasKeys()
boolean hasValues()
boolean hasAttributes()
boolean hasAggregators()
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |