Interface StatsPage<T>

Type Parameters:
T -
All Superinterfaces:
Iterable<T>, org.springframework.data.domain.Page<T>, org.springframework.data.domain.Slice<T>, org.springframework.data.util.Streamable<T>, Supplier<Stream<T>>
All Known Implementing Classes:
SolrResultPage

public interface StatsPage<T> extends org.springframework.data.domain.Page<T>
Representation of a Stats result page, holding one FieldStatsResult for each field statistic requested on a Query through StatsOptions.
Since:
1.4
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the stats result done for the field with the given fieldName.
    Get the stats result done for the given Field.
    Get all field stats results for this page.

    Methods inherited from interface java.lang.Iterable

    forEach, iterator, spliterator

    Methods inherited from interface org.springframework.data.domain.Page

    getTotalElements, getTotalPages, map

    Methods inherited from interface org.springframework.data.domain.Slice

    getContent, getNumber, getNumberOfElements, getPageable, getSize, getSort, hasContent, hasNext, hasPrevious, isFirst, isLast, nextOrLastPageable, nextPageable, previousOrFirstPageable, previousPageable

    Methods inherited from interface org.springframework.data.util.Streamable

    and, and, and, and, filter, flatMap, get, isEmpty, stream, toList, toSet
  • Method Details

    • getFieldStatsResult

      FieldStatsResult getFieldStatsResult(Field field)
      Get the stats result done for the given Field.
      Parameters:
      field -
      Returns:
    • getFieldStatsResult

      FieldStatsResult getFieldStatsResult(String fieldName)
      Get the stats result done for the field with the given fieldName.
      Parameters:
      fieldName -
      Returns:
    • getFieldStatsResults

      Map<String,FieldStatsResult> getFieldStatsResults()
      Get all field stats results for this page.
      Returns: