Class PageOf<T>
java.lang.Object
com.evolveum.midpoint.repo.sqlbase.PageOf<T>
- Type Parameters:
T
- type of the result row
- All Implemented Interfaces:
Iterable<T>
Result object for potentially paginated content.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
PAGE_NO_PAGINATION
public static final int PAGE_NO_PAGINATION- See Also:
-
FIRST_PAGE
public static final int FIRST_PAGE- See Also:
-
TOTAL_COUNT_UNKNOWN
public static final int TOTAL_COUNT_UNKNOWN- See Also:
-
-
Constructor Details
-
PageOf
-
PageOf
-
PageOf
public PageOf()Empty result. -
PageOf
-
-
Method Details
-
map
-
iterator
-
stream
-
content
-
get
-
pageNumber
public int pageNumber() -
pageSize
public int pageSize() -
totalCount
public long totalCount() -
isEmpty
public boolean isEmpty() -
isPaginated
public boolean isPaginated() -
isKnownTotalCount
public boolean isKnownTotalCount() -
toString
-