Class FacetResult


  • public final class FacetResult
    extends Object
    A single bucket of a facet query result. Reports the number of documents with a field value falling within a particular range or having a particular value or interval.
    • Constructor Detail

      • FacetResult

        public FacetResult()
    • Method Detail

      • getCount

        public Long getCount()
        Get the count property: The approximate count of documents falling within the bucket described by this facet.
        Returns:
        the count value.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
        Get the additionalProperties property: A single bucket of a facet query result. Reports the number of documents with a field value falling within a particular range or having a particular value or interval.
        Returns:
        the additionalProperties value.
      • setAdditionalProperties

        public FacetResult setAdditionalProperties​(Map<String,​Object> additionalProperties)
        Set the additionalProperties property: A single bucket of a facet query result. Reports the number of documents with a field value falling within a particular range or having a particular value or interval.
        Parameters:
        additionalProperties - the additionalProperties value to set.
        Returns:
        the FacetResult object itself.