| Modifier and Type | Field and Description |
|---|---|
| public static final NullResults | INSTANCE
A global instance that can be freely shared with the world since this type has no state |
| Access | Constructor and Description |
|---|---|
| public |
| 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 count)Implements net. |
| public int |
| INSTANCE | back to summary |
|---|---|
| public static final NullResults INSTANCE A global instance that can be freely shared with the world since this type has no state | |
| NullResults | back to summary |
|---|---|
| public NullResults() | |
| 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
| |