Interface Bucket.Builder

    • Method Detail

      • keyValue

        Bucket.Builder keyValue​(String keyValue)

        The value counted for the particular bucket.

        Parameters:
        keyValue - The value counted for the particular bucket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • count

        Bucket.Builder count​(Integer count)

        The number of documents that have the value counted for the particular bucket.

        Parameters:
        count - The number of documents that have the value counted for the particular bucket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.