public interface OctaneCollection<T extends Entity> extends Collection<T>
Collection interface that incorporates important metadata about the collection that has
been returned.
These are the total_count and exceeds_total_count fields. These are important when scrolling through paged data to
know whether there is more data to fetch. Exceeds total count signifies whether the requested data page size is larger
than allowed by server constraints.
See the REST API documentation for more details| Modifier and Type | Field and Description |
|---|---|
static int |
NO_TOTAL_COUNT_SET
Returned when the total count field has not been set
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
exceedsTotalCount()
Whether the requested number of entities exceeds the total available number of entities
|
int |
getTotalCount()
The total count of available entities that answer to the current query
|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArraystatic final int NO_TOTAL_COUNT_SET
int getTotalCount()
boolean exceedsTotalCount()
Copyright © 2021 Micro Focus. All rights reserved.