Interface QueryFacetValue<T>

Type Parameters:
T - The type of the value.

public interface QueryFacetValue<T>
Represents a single value in a QueryFacetResult.
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves the number of records with this value that satisfy the Query conditions.
    Retrieves the label for the value if requested in the QueryFacetRequest.
    Retrieves the query facet value.
  • Method Details

    • getCount

      Long getCount()
      Retrieves the number of records with this value that satisfy the Query conditions.
      Returns:
      the total number of results satisfying the query
    • getValue

      T getValue()
      Retrieves the query facet value.
      Returns:
      the query facet value
    • getLabel

      String getLabel()
      Retrieves the label for the value if requested in the QueryFacetRequest.
      Returns:
      the label for the value if present, otherwise null