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 SummaryFieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final int
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.IterableforEach, spliterator
- 
Field Details- 
PAGE_NO_PAGINATIONpublic static final int PAGE_NO_PAGINATION- See Also:
 
- 
FIRST_PAGEpublic static final int FIRST_PAGE- See Also:
 
- 
TOTAL_COUNT_UNKNOWNpublic static final int TOTAL_COUNT_UNKNOWN- See Also:
 
 
- 
- 
Constructor Details- 
PageOf
- 
PageOf
- 
PageOfpublic PageOf()Empty result.
- 
PageOf
 
- 
- 
Method Details- 
map
- 
iterator
- 
stream
- 
content
- 
get
- 
pageNumberpublic int pageNumber()
- 
pageSizepublic int pageSize()
- 
totalCountpublic long totalCount()
- 
isEmptypublic boolean isEmpty()
- 
isPaginatedpublic boolean isPaginated()
- 
isKnownTotalCountpublic boolean isKnownTotalCount()
- 
toString
 
-