Uses of Class
com.kingsrook.qqq.backend.core.actions.tables.KeysetPager
Packages that use KeysetPager
-
Uses of KeysetPager in com.kingsrook.qqq.backend.core.actions.tables
Methods in com.kingsrook.qqq.backend.core.actions.tables that return KeysetPagerModifier and TypeMethodDescriptionstatic KeysetPagerStart building a pager for a table.KeysetPager.startingAfter(Serializable lastKey) Resume: only return records whose primary key is greater than this one (e.g., thegetLastKey()of an earlier, interrupted run).KeysetPager.withFilter(QQueryFilter filter) Only page through records matching this filter.KeysetPager.withPageSize(int pageSize) The maximum number of records per page.KeysetPager.withQueryInputCustomizer(Consumer<QueryInput> queryInputCustomizer) Adjust the QueryInput used for each page, e.g., fieldNamesToInclude, or shouldFetchHeavyFields.KeysetPager.withRawRead(RawReadReason rawReadReason) Read every page as a raw read - seeQueryInput.withRawRead(RawReadReason).KeysetPager.withTransaction(QBackendTransaction transaction) Run every page's query inside this transaction (e.g., a snapshot).