Class LimitOffsetAllEntitiesLoader

java.lang.Object
io.jmix.gridexportui.exporter.entitiesloader.AbstractAllEntitiesLoader
io.jmix.gridexportui.exporter.entitiesloader.LimitOffsetAllEntitiesLoader
All Implemented Interfaces:
AllEntitiesLoader

@Component public class LimitOffsetAllEntitiesLoader extends AbstractAllEntitiesLoader
This loader implements limit-offset pagination strategy. Entities are fetched in the same order as in the data store. The strategy uses two parameters. The first, offset, sets a number of the starting record of the page. The second, limit, defines the number of records in the page.