Interface Field.Builder

    • Method Detail

      • aggregation

        Field.Builder aggregation​(String aggregation)

        (Optional) Indicates the type of aggregation or summary operation (such as Sum, Average, and so on) to be performed on a particular field or set of data.

        Parameters:
        aggregation - (Optional) Indicates the type of aggregation or summary operation (such as Sum, Average, and so on) to be performed on a particular field or set of data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FieldAggregationType, FieldAggregationType
      • aggregation

        Field.Builder aggregation​(FieldAggregationType aggregation)

        (Optional) Indicates the type of aggregation or summary operation (such as Sum, Average, and so on) to be performed on a particular field or set of data.

        Parameters:
        aggregation - (Optional) Indicates the type of aggregation or summary operation (such as Sum, Average, and so on) to be performed on a particular field or set of data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FieldAggregationType, FieldAggregationType
      • name

        Field.Builder name​(String name)

        Name of the field.

        Parameters:
        name - Name of the field.
        Returns:
        Returns a reference to this object so that method calls can be chained together.