PageFilterResult

data class PageFilterResult(    val name: String,     val paramName: String,     val hits: List<SearchHit<*>>,     val totalHits: Long,     val page: Int,     val perPage: Int,     val totalPages: Int,     val from: Int,     val size: Int) : FilterResult, Iterable<SearchHit<*>>

PageFilterResult holds result of a PageFilter.

Parameters

name
hits
  • list of hits on the current page

totalHits
  • total number of hits

page
  • number of the current page

perPage
  • number of hits per page

totalPages
  • total number of pages

from
size

Constructors

Link copied to clipboard
fun PageFilterResult(    name: String,     paramName: String,     hits: List<SearchHit<*>>,     totalHits: Long,     page: Int,     perPage: Int,     totalPages: Int,     from: Int,     size: Int)

Functions

Link copied to clipboard
open operator override fun iterator(): Iterator<SearchHit<*>>

Properties

Link copied to clipboard
val from: Int
Link copied to clipboard
Link copied to clipboard
open override val name: String
Link copied to clipboard
val page: Int
Link copied to clipboard
open override val paramName: String
Link copied to clipboard
Link copied to clipboard
val size: Int
Link copied to clipboard
Link copied to clipboard