Package mil.nga.geopackage.user.custom
Class UserCustomPaginatedCursor
- java.lang.Object
-
- mil.nga.geopackage.user.UserCorePaginatedResults<TColumn,TTable,TRow,TResult>
-
- mil.nga.geopackage.user.UserPaginatedCursor<UserCustomColumn,UserCustomTable,UserCustomRow,UserCustomCursor>
-
- mil.nga.geopackage.user.custom.UserCustomPaginatedCursor
-
- All Implemented Interfaces:
Iterable<UserCustomRow>
public class UserCustomPaginatedCursor extends UserPaginatedCursor<UserCustomColumn,UserCustomTable,UserCustomRow,UserCustomCursor>
User Custom Paginated Cursor for iterating and querying through user customs in chunks- Since:
- 6.2.0
-
-
Constructor Summary
Constructors Constructor Description UserCustomPaginatedCursor(UserCustomDao dao, UserCustomCursor cursor)Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserCustomPaginatedCursorcreate(UserCustomDao dao, UserCustomCursor cursor)Create a paginated cursorUserCustomCursorgetCursor()Get the current paginated cursorUserCustomDaogetDao()static PaginationgetPagination(UserCustomCursor cursor)Get the pagination offset and limitUserCustomCursorgetResults()static booleanisPaginated(UserCustomCursor cursor)Determine if the cursor is paginated-
Methods inherited from class mil.nga.geopackage.user.UserCorePaginatedResults
close, getArgs, getColumns, getPagination, getSql, 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
-
UserCustomPaginatedCursor
public UserCustomPaginatedCursor(UserCustomDao dao, UserCustomCursor cursor)
Constructor- Parameters:
dao- user custom daocursor- user custom cursor
-
-
Method Detail
-
isPaginated
public static boolean isPaginated(UserCustomCursor cursor)
Determine if the cursor is paginated- Parameters:
cursor- user custom cursor- Returns:
- true if paginated
-
getPagination
public static Pagination getPagination(UserCustomCursor cursor)
Get the pagination offset and limit- Parameters:
cursor- user custom cursor- Returns:
- pagination or null if not paginated
-
create
public static UserCustomPaginatedCursor create(UserCustomDao dao, UserCustomCursor cursor)
Create a paginated cursor- Parameters:
dao- user custom daocursor- user custom cursor- Returns:
- user custom paginated cursor
-
getDao
public UserCustomDao getDao()
- Overrides:
getDaoin classUserPaginatedCursor<UserCustomColumn,UserCustomTable,UserCustomRow,UserCustomCursor>
-
getResults
public UserCustomCursor getResults()
- Overrides:
getResultsin classUserPaginatedCursor<UserCustomColumn,UserCustomTable,UserCustomRow,UserCustomCursor>
-
getCursor
public UserCustomCursor getCursor()
Get the current paginated cursor- Overrides:
getCursorin classUserPaginatedCursor<UserCustomColumn,UserCustomTable,UserCustomRow,UserCustomCursor>- Returns:
- current cursor
-
-