PageFilter
class PageFilter(name: String? = null, val availablePageSizes: List<Int> = DEFAULT_AVAILABLE_PAGE_SIZES, defaultPageSize: Int? = null, val maxHits: Int = DEFAULT_MAX_HITS) : Filter<PageFilterResult>
PageFilter allows to paginate search query results.
Parameters
name
name of the PageFilter
availablePageSizes
list of available of per page variants
defaultPageSize
default number of hits per page
maxHits
maximum number of hits to available for a pagination
Constructors
Types
Functions
Link copied to clipboard
open override fun prepare(name: String, paramName: String, params: QueryFilterParams): PreparedPageFilter
Parses params and prepares the PageFilter for applying.
Link copied to clipboard
operator fun provideDelegate(thisRef: QueryFilters, property: KProperty<*>): ReadOnlyProperty<QueryFilters, BoundFilter<PageFilterResult>>