| Constructor and Description |
|---|
ResultsImpl(List<Result> results,
boolean hasKeys,
boolean hasValues,
boolean hasAttributes,
boolean hasAggregators)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
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 length)
Retrieve a subset of the cache results.
|
int |
size()
Results size
|
String |
toString() |
public void discard()
SearchExceptionpublic List<Result> all() throws SearchException
all in interface ResultsSearchExceptionpublic List<Result> range(int start, int length) throws SearchException
range in interface Resultsstart - starting index to accesslength - the number of results to returnSearchExceptionpublic int size()
public boolean hasKeys()
public boolean hasValues()
public boolean hasAttributes()
hasAttributes in interface Resultspublic boolean hasAggregators()
hasAggregators in interface ResultsCopyright © 2003-2014 Terracotta, Inc.. All Rights Reserved.