Query. Instances of this class
are thread safe
| Modifier and Type | Method and Description |
|---|---|
| public List | |
| public void | |
| public boolean | |
| public boolean | Returns: true if attributes are includedWhether the Results have cache attributes included. |
| public boolean | |
| public boolean | |
| public List | Returns: a List of the given size. This list will be smaller than the requested size if no more results are available. If there are no more results an empty list will be returned.starting index to access start, int the number of results to return count)Retrieve a subset of the cache results. |
| public int |
| all | back to summary |
|---|---|
| public List List containing all of the search results. | |
| discard | back to summary |
|---|---|
| public void discard() Discard this query result. This call is not mandatory but is recommended after the caller is done with results. It can allow the cache, which may be distributed, to immediately free any resources associated with this result.
Multiple calls are ignored. Attempting to read results from this instance after this method has been called will produce
| |
| hasAggregators | back to summary |
|---|---|
| public boolean hasAggregators() Whether the results contains aggregates
| |
| hasAttributes | back to summary |
|---|---|
| public boolean hasAttributes() Whether the Results have cache attributes included. If so these can be extracted from the Result object.
| |
| hasKeys | back to summary |
|---|---|
| public boolean hasKeys() Whether the Results have cache keys included. If so these can be extracted from the Result object.
| |
| hasValues | back to summary |
|---|---|
| public boolean hasValues() Whether the Results have cache values included. If so these can be extracted from the Result object.
| |
| range | back to summary |
|---|---|
| public List Retrieve a subset of the cache results. This method is useful when showing "paged" results in a user interface. | |
| size | back to summary |
|---|---|
| public int size() Results size
| |