Class CursorPagination.Config<TT>
java.lang.Object
com.flowlogix.jeedao.primefaces.CursorPagination.Config<TT>
- All Implemented Interfaces:
Serializable
- Enclosing interface:
CursorPagination<TT>
Configuration class for cursor pagination, used to create a CursorPagination instance with specified supported fields and options. The following are configuration fields:
supportedFields: a list of fields that are supported for cursor pagination, each field consists of a name and a method to extract the comparable value from the entityconditional: a supplier that determines whether cursor pagination should be enabled based on dynamic conditions, default is always truedefaultDescendingSort: a flag to indicate if the default sort order for the first supported field should be descending, default is false (ascending)evictCursorCacheBehind: a flag to indicate whether to evict the cursor cache behind the current offset, defined by a windowevictCursorCacheAhead: a flag to indicate whether to evict the cursor cache ahead the current offset, defined by a windowbehindCursorWindowSize: specified how wide the window behind the current offset should be for cursor cache eviction, default is 1000aheadCursorWindowSize: specified how wide the window ahead of the current offset should be for cursor cache eviction, default is 1000
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Config
public Config()
-