Interface Aggregate.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Aggregate.Builder,Aggregate>, SdkBuilder<Aggregate.Builder,Aggregate>, SdkPojo
Enclosing class:
Aggregate

public static interface Aggregate.Builder extends SdkPojo, CopyableBuilder<Aggregate.Builder,Aggregate>
  • Method Details

    • name

      The name of the transform node.

      Parameters:
      name - The name of the transform node.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputs

      Specifies the fields and rows to use as inputs for the aggregate transform.

      Parameters:
      inputs - Specifies the fields and rows to use as inputs for the aggregate transform.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputs

      Aggregate.Builder inputs(String... inputs)

      Specifies the fields and rows to use as inputs for the aggregate transform.

      Parameters:
      inputs - Specifies the fields and rows to use as inputs for the aggregate transform.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groups

      Aggregate.Builder groups(Collection<? extends Collection<String>> groups)

      Specifies the fields to group by.

      Parameters:
      groups - Specifies the fields to group by.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groups

      Aggregate.Builder groups(Collection<String>... groups)

      Specifies the fields to group by.

      Parameters:
      groups - Specifies the fields to group by.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • aggs

      Specifies the aggregate functions to be performed on specified fields.

      Parameters:
      aggs - Specifies the aggregate functions to be performed on specified fields.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • aggs

      Specifies the aggregate functions to be performed on specified fields.

      Parameters:
      aggs - Specifies the aggregate functions to be performed on specified fields.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • aggs

      Specifies the aggregate functions to be performed on specified fields.

      This is a convenience method that creates an instance of the AggregateOperation.Builder avoiding the need to create one manually via AggregateOperation.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to aggs(List<AggregateOperation>).

      Parameters:
      aggs - a consumer that will call methods on AggregateOperation.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: