public static interface Aggregate.Builder extends SdkPojo, CopyableBuilder<Aggregate.Builder,Aggregate>
| Modifier and Type | Method and Description |
|---|---|
Aggregate.Builder |
aggs(AggregateOperation... aggs)
Specifies the aggregate functions to be performed on specified fields.
|
Aggregate.Builder |
aggs(Collection<AggregateOperation> aggs)
Specifies the aggregate functions to be performed on specified fields.
|
Aggregate.Builder |
aggs(Consumer<AggregateOperation.Builder>... aggs)
Specifies the aggregate functions to be performed on specified fields.
|
Aggregate.Builder |
groups(Collection<? extends Collection<String>> groups)
Specifies the fields to group by.
|
Aggregate.Builder |
groups(Collection<String>... groups)
Specifies the fields to group by.
|
Aggregate.Builder |
inputs(Collection<String> inputs)
Specifies the fields and rows to use as inputs for the aggregate transform.
|
Aggregate.Builder |
inputs(String... inputs)
Specifies the fields and rows to use as inputs for the aggregate transform.
|
Aggregate.Builder |
name(String name)
The name of the transform node.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAggregate.Builder name(String name)
The name of the transform node.
name - The name of the transform node.Aggregate.Builder inputs(Collection<String> inputs)
Specifies the fields and rows to use as inputs for the aggregate transform.
inputs - Specifies the fields and rows to use as inputs for the aggregate transform.Aggregate.Builder inputs(String... inputs)
Specifies the fields and rows to use as inputs for the aggregate transform.
inputs - Specifies the fields and rows to use as inputs for the aggregate transform.Aggregate.Builder groups(Collection<? extends Collection<String>> groups)
Specifies the fields to group by.
groups - Specifies the fields to group by.Aggregate.Builder groups(Collection<String>... groups)
Specifies the fields to group by.
groups - Specifies the fields to group by.Aggregate.Builder aggs(Collection<AggregateOperation> aggs)
Specifies the aggregate functions to be performed on specified fields.
aggs - Specifies the aggregate functions to be performed on specified fields.Aggregate.Builder aggs(AggregateOperation... aggs)
Specifies the aggregate functions to be performed on specified fields.
aggs - Specifies the aggregate functions to be performed on specified fields.Aggregate.Builder aggs(Consumer<AggregateOperation.Builder>... aggs)
Specifies the aggregate functions to be performed on specified fields.
This is a convenience method that creates an instance of theAggregateOperation.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.
aggs - a consumer that will call methods on
AggregateOperation.Builder#aggs(java.util.Collection) Copyright © 2023. All rights reserved.