| Modifier and Type | Field and Description |
|---|---|
| private final Runnable | |
| private final boolean | |
| private final boolean | |
| private final boolean | |
| private final boolean | |
| private final boolean | |
| private final List |
| Access | Constructor and Description |
|---|---|
| public | ResultsImpl(List<? extends Result> results, boolean hasKeys, boolean hasValues, boolean hasAttributes, boolean hasAggregators)
Constructor |
| public | ResultsImpl(List<? extends Result> results, boolean hasKeys, boolean hasValues, boolean hasAttributes, boolean hasAggregators, Runnable discardCallback)
Constructor |
| Modifier and Type | Method and Description |
|---|---|
| public List | |
| public void | |
| public boolean | hasAggregators()
Implements net. |
| public boolean | hasAttributes()
Implements net. |
| public boolean | hasKeys()
Implements net. |
| public boolean | hasValues()
Implements net. |
| public List | range(int
starting index to access start, int the number of results to return length)Implements net. |
| public int | |
| public String |
| discardHook | back to summary |
|---|---|
| private final Runnable discardHook | |
| empty | back to summary |
|---|---|
| private final boolean empty | |
| hasAggregators | back to summary |
|---|---|
| private final boolean hasAggregators | |
| hasAttributes | back to summary |
|---|---|
| private final boolean hasAttributes | |
| hasKeys | back to summary |
|---|---|
| private final boolean hasKeys | |
| hasValues | back to summary |
|---|---|
| private final boolean hasValues | |
| results | back to summary |
|---|---|
| private final List<Result> results | |
| ResultsImpl | back to summary |
|---|---|
| public ResultsImpl(List<? extends Result> results, boolean hasKeys, boolean hasValues, boolean hasAttributes, boolean hasAggregators) Constructor | |
| ResultsImpl | back to summary |
|---|---|
| public ResultsImpl(List<? extends Result> results, boolean hasKeys, boolean hasValues, boolean hasAttributes, boolean hasAggregators, Runnable discardCallback) Constructor | |
| all | back to summary |
|---|---|
| public List Implements net. Doc from net. List containing all of the search results. | |
| discard | back to summary |
|---|---|
| public void discard() Implements net. Doc from net. 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() Implements net. Doc from net. Whether the results contains aggregates
| |
| hasAttributes | back to summary |
|---|---|
| public boolean hasAttributes() Implements net. Doc from net. Whether the Results have cache attributes included. If so these can be extracted from the Result object.
| |
| hasKeys | back to summary |
|---|---|
| public boolean hasKeys() Implements net. Doc from net. Whether the Results have cache keys included. If so these can be extracted from the Result object.
| |
| hasValues | back to summary |
|---|---|
| public boolean hasValues() Implements net. Doc from net. Whether the Results have cache values included. If so these can be extracted from the Result object.
| |
| range | back to summary |
|---|---|
| public List Implements net. Doc from net. 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() Implements net. Doc from net. Results size
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |