Interface PivotOperation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PivotOperation.Builder,,PivotOperation> SdkBuilder<PivotOperation.Builder,,PivotOperation> SdkPojo
- Enclosing class:
PivotOperation
-
Method Summary
Modifier and TypeMethodDescriptionAlias for this operation.groupByColumnNames(String... groupByColumnNames) The list of column names to group by when performing the pivot operation.groupByColumnNames(Collection<String> groupByColumnNames) The list of column names to group by when performing the pivot operation.default PivotOperation.BuilderpivotConfiguration(Consumer<PivotConfiguration.Builder> pivotConfiguration) Configuration that specifies which labels to pivot and how to structure the resulting columns.pivotConfiguration(PivotConfiguration pivotConfiguration) Configuration that specifies which labels to pivot and how to structure the resulting columns.default PivotOperation.BuilderThe source transform operation that provides input data for pivoting.source(TransformOperationSource source) The source transform operation that provides input data for pivoting.default PivotOperation.BuildervalueColumnConfiguration(Consumer<ValueColumnConfiguration.Builder> valueColumnConfiguration) Configuration for how to aggregate values when multiple rows map to the same pivoted column.valueColumnConfiguration(ValueColumnConfiguration valueColumnConfiguration) Configuration for how to aggregate values when multiple rows map to the same pivoted column.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 pivoting.
- Parameters:
source- The source transform operation that provides input data for pivoting.- 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 pivoting.
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 pivot operation.
- Parameters:
groupByColumnNames- The list of column names to group by when performing the pivot operation.- 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 pivot operation.
- Parameters:
groupByColumnNames- The list of column names to group by when performing the pivot operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueColumnConfiguration
Configuration for how to aggregate values when multiple rows map to the same pivoted column.
- Parameters:
valueColumnConfiguration- Configuration for how to aggregate values when multiple rows map to the same pivoted column.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueColumnConfiguration
default PivotOperation.Builder valueColumnConfiguration(Consumer<ValueColumnConfiguration.Builder> valueColumnConfiguration) Configuration for how to aggregate values when multiple rows map to the same pivoted column.
This is a convenience method that creates an instance of theValueColumnConfiguration.Builderavoiding the need to create one manually viaValueColumnConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalueColumnConfiguration(ValueColumnConfiguration).- Parameters:
valueColumnConfiguration- a consumer that will call methods onValueColumnConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pivotConfiguration
Configuration that specifies which labels to pivot and how to structure the resulting columns.
- Parameters:
pivotConfiguration- Configuration that specifies which labels to pivot and how to structure the resulting columns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pivotConfiguration
default PivotOperation.Builder pivotConfiguration(Consumer<PivotConfiguration.Builder> pivotConfiguration) Configuration that specifies which labels to pivot and how to structure the resulting columns.
This is a convenience method that creates an instance of thePivotConfiguration.Builderavoiding the need to create one manually viaPivotConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topivotConfiguration(PivotConfiguration).- Parameters:
pivotConfiguration- a consumer that will call methods onPivotConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-