Interface AggregateOperation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AggregateOperation.Builder,,AggregateOperation> SdkBuilder<AggregateOperation.Builder,,AggregateOperation> SdkPojo
- Enclosing class:
AggregateOperation
-
Method Summary
Modifier and TypeMethodDescriptionaggregations(Collection<Aggregation> aggregations) The list of aggregation functions to apply to the grouped data, such asSUM,COUNT, orAVERAGE.aggregations(Consumer<Aggregation.Builder>... aggregations) The list of aggregation functions to apply to the grouped data, such asSUM,COUNT, orAVERAGE.aggregations(Aggregation... aggregations) The list of aggregation functions to apply to the grouped data, such asSUM,COUNT, orAVERAGE.Alias for this operation.groupByColumnNames(String... groupByColumnNames) The list of column names to group by when performing the aggregation.groupByColumnNames(Collection<String> groupByColumnNames) The list of column names to group by when performing the aggregation.default AggregateOperation.BuilderThe source transform operation that provides input data for the aggregation.source(TransformOperationSource source) The source transform operation that provides input data for the aggregation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
alias
Alias for this operation.
- Parameters:
alias- Alias for this operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The source transform operation that provides input data for the aggregation.
- Parameters:
source- The source transform operation that provides input data for the aggregation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The source transform operation that provides input data for the aggregation.
This is a convenience method that creates an instance of theTransformOperationSource.Builderavoiding the need to create one manually viaTransformOperationSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(TransformOperationSource).- Parameters:
source- a consumer that will call methods onTransformOperationSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
groupByColumnNames
The list of column names to group by when performing the aggregation. Rows with the same values in these columns will be grouped together.
- Parameters:
groupByColumnNames- The list of column names to group by when performing the aggregation. Rows with the same values in these columns will be grouped together.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupByColumnNames
The list of column names to group by when performing the aggregation. Rows with the same values in these columns will be grouped together.
- Parameters:
groupByColumnNames- The list of column names to group by when performing the aggregation. Rows with the same values in these columns will be grouped together.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregations
The list of aggregation functions to apply to the grouped data, such as
SUM,COUNT, orAVERAGE.- Parameters:
aggregations- The list of aggregation functions to apply to the grouped data, such asSUM,COUNT, orAVERAGE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregations
The list of aggregation functions to apply to the grouped data, such as
SUM,COUNT, orAVERAGE.- Parameters:
aggregations- The list of aggregation functions to apply to the grouped data, such asSUM,COUNT, orAVERAGE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregations
The list of aggregation functions to apply to the grouped data, such as
This is a convenience method that creates an instance of theSUM,COUNT, orAVERAGE.Aggregation.Builderavoiding the need to create one manually viaAggregation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaggregations(List<Aggregation>).- Parameters:
aggregations- a consumer that will call methods onAggregation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-