Package mil.nga.geopackage.attributes
Class AttributesPaginatedCursor
java.lang.Object
mil.nga.geopackage.user.UserCorePaginatedResults<AttributesColumn,AttributesTable,AttributesRow,AttributesCursor>
mil.nga.geopackage.user.UserPaginatedCursor<AttributesColumn,AttributesTable,AttributesRow,AttributesCursor>
mil.nga.geopackage.attributes.AttributesPaginatedCursor
- All Implemented Interfaces:
Iterable<AttributesRow>
public class AttributesPaginatedCursor
extends UserPaginatedCursor<AttributesColumn,AttributesTable,AttributesRow,AttributesCursor>
Attributes Paginated Cursor for iterating and querying through attributes in
chunks
- Since:
- 6.2.0
-
Constructor Summary
ConstructorsConstructorDescriptionAttributesPaginatedCursor(AttributesDao dao, AttributesCursor cursor) Constructor -
Method Summary
Modifier and TypeMethodDescriptionstatic AttributesPaginatedCursorcreate(AttributesDao dao, AttributesCursor cursor) Create a paginated cursorGet the current paginated cursorgetDao()static PaginationgetPagination(AttributesCursor cursor) Get the pagination offset and limitstatic booleanisPaginated(AttributesCursor cursor) Determine if the cursor is paginatedMethods inherited from class mil.nga.geopackage.user.UserCorePaginatedResults
close, getArgs, getColumns, getPagination, getSql, ids, iterator, setPaginationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
AttributesPaginatedCursor
Constructor- Parameters:
dao- attributes daocursor- attributes cursor
-
-
Method Details
-
isPaginated
Determine if the cursor is paginated- Parameters:
cursor- attributes cursor- Returns:
- true if paginated
-
getPagination
Get the pagination offset and limit- Parameters:
cursor- attributes cursor- Returns:
- pagination or null if not paginated
-
create
Create a paginated cursor- Parameters:
dao- attributes daocursor- attributes cursor- Returns:
- attributes paginated cursor
-
getDao
- Overrides:
getDaoin classUserPaginatedCursor<AttributesColumn,AttributesTable, AttributesRow, AttributesCursor>
-
getResults
- Overrides:
getResultsin classUserPaginatedCursor<AttributesColumn,AttributesTable, AttributesRow, AttributesCursor>
-
getCursor
Get the current paginated cursor- Overrides:
getCursorin classUserPaginatedCursor<AttributesColumn,AttributesTable, AttributesRow, AttributesCursor> - Returns:
- current cursor
-