private class AbstractTransactionStore.TxSearchResults extends java.lang.Object implements Results
Constructor and Description |
---|
TxSearchResults(Results results) |
Modifier and Type | Method and Description |
---|---|
java.util.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.
|
java.util.List<Result> |
range(int start,
int count)
Retrieve a subset of the cache results.
|
int |
size()
Results size
|
private final Results results
TxSearchResults(Results results)
public void discard()
Results
SearchException
public java.util.List<Result> all() throws SearchException
Results
all
in interface Results
SearchException
public java.util.List<Result> range(int start, int count) throws SearchException, java.lang.IndexOutOfBoundsException
Results
range
in interface Results
start
- starting index to accesscount
- the number of results to returnSearchException
java.lang.IndexOutOfBoundsException
public int size()
Results
public boolean hasKeys()
Results
public boolean hasValues()
Results
public boolean hasAttributes()
Results
hasAttributes
in interface Results
public boolean hasAggregators()
Results
hasAggregators
in interface Results