Package mil.nga.geopackage.user.custom
Class UserCustomPaginatedResults
- java.lang.Object
-
- mil.nga.geopackage.user.UserCorePaginatedResults<TColumn,TTable,TRow,TResult>
-
- mil.nga.geopackage.user.UserPaginatedResults<UserCustomColumn,UserCustomTable,UserCustomRow,UserCustomResultSet>
-
- mil.nga.geopackage.user.custom.UserCustomPaginatedResults
-
- All Implemented Interfaces:
Iterable<UserCustomRow>
public class UserCustomPaginatedResults extends UserPaginatedResults<UserCustomColumn,UserCustomTable,UserCustomRow,UserCustomResultSet>
User Custom Paginated Results for iterating and querying through user customs in chunks- Since:
- 6.2.0
- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description UserCustomPaginatedResults(UserCustomDao dao, UserCustomResultSet results)
Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserCustomPaginatedResults
create(UserCustomDao dao, UserCustomResultSet results)
Create paginated resultsUserCustomDao
getDao()
static Pagination
getPagination(UserCustomResultSet resultSet)
Get the pagination offset and limitUserCustomResultSet
getResults()
static boolean
isPaginated(UserCustomResultSet resultSet)
Determine if the result set is paginated-
Methods inherited from class mil.nga.geopackage.user.UserCorePaginatedResults
close, getArgs, getColumns, getPagination, getSql, ids, iterator, setPagination
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
UserCustomPaginatedResults
public UserCustomPaginatedResults(UserCustomDao dao, UserCustomResultSet results)
Constructor- Parameters:
dao
- user custom daoresults
- user custom result set
-
-
Method Detail
-
isPaginated
public static boolean isPaginated(UserCustomResultSet resultSet)
Determine if the result set is paginated- Parameters:
resultSet
- user custom result set- Returns:
- true if paginated
-
getPagination
public static Pagination getPagination(UserCustomResultSet resultSet)
Get the pagination offset and limit- Parameters:
resultSet
- user custom result set- Returns:
- pagination or null if not paginated
-
create
public static UserCustomPaginatedResults create(UserCustomDao dao, UserCustomResultSet results)
Create paginated results- Parameters:
dao
- user custom daoresults
- user custom result set- Returns:
- user custom paginated results
-
getDao
public UserCustomDao getDao()
- Overrides:
getDao
in classUserPaginatedResults<UserCustomColumn,UserCustomTable,UserCustomRow,UserCustomResultSet>
-
getResults
public UserCustomResultSet getResults()
- Overrides:
getResults
in classUserPaginatedResults<UserCustomColumn,UserCustomTable,UserCustomRow,UserCustomResultSet>
-
-