public interface Results
Query
. Instances of this class
are thread safeModifier and Type | Method and Description |
---|---|
List<Result> |
all()
List containing all of the search results.
|
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
|
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 returnSearchException
IndexOutOfBoundsException
int size()
boolean hasKeys()
boolean hasValues()
boolean hasAttributes()
boolean hasAggregators()
Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.