@Generated(value="software.amazon.awssdk:codegen") public final class TransformOperation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TransformOperation.Builder,TransformOperation>
A data transformation on a logical table. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TransformOperation.Builder |
static class |
TransformOperation.Type |
| Modifier and Type | Method and Description |
|---|---|
static TransformOperation.Builder |
builder() |
CastColumnTypeOperation |
castColumnTypeOperation()
A transform operation that casts a column to a different type.
|
CreateColumnsOperation |
createColumnsOperation()
An operation that creates calculated columns.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FilterOperation |
filterOperation()
An operation that filters rows based on some condition.
|
static TransformOperation |
fromCastColumnTypeOperation(CastColumnTypeOperation castColumnTypeOperation)
Create an instance of this class with
castColumnTypeOperation() initialized to the given value. |
static TransformOperation |
fromCastColumnTypeOperation(Consumer<CastColumnTypeOperation.Builder> castColumnTypeOperation)
Create an instance of this class with
castColumnTypeOperation() initialized to the given value. |
static TransformOperation |
fromCreateColumnsOperation(Consumer<CreateColumnsOperation.Builder> createColumnsOperation)
Create an instance of this class with
createColumnsOperation() initialized to the given value. |
static TransformOperation |
fromCreateColumnsOperation(CreateColumnsOperation createColumnsOperation)
Create an instance of this class with
createColumnsOperation() initialized to the given value. |
static TransformOperation |
fromFilterOperation(Consumer<FilterOperation.Builder> filterOperation)
Create an instance of this class with
filterOperation() initialized to the given value. |
static TransformOperation |
fromFilterOperation(FilterOperation filterOperation)
Create an instance of this class with
filterOperation() initialized to the given value. |
static TransformOperation |
fromOverrideDatasetParameterOperation(Consumer<OverrideDatasetParameterOperation.Builder> overrideDatasetParameterOperation)
Create an instance of this class with
overrideDatasetParameterOperation() initialized to the given
value. |
static TransformOperation |
fromOverrideDatasetParameterOperation(OverrideDatasetParameterOperation overrideDatasetParameterOperation)
Create an instance of this class with
overrideDatasetParameterOperation() initialized to the given
value. |
static TransformOperation |
fromProjectOperation(Consumer<ProjectOperation.Builder> projectOperation)
Create an instance of this class with
projectOperation() initialized to the given value. |
static TransformOperation |
fromProjectOperation(ProjectOperation projectOperation)
Create an instance of this class with
projectOperation() initialized to the given value. |
static TransformOperation |
fromRenameColumnOperation(Consumer<RenameColumnOperation.Builder> renameColumnOperation)
Create an instance of this class with
renameColumnOperation() initialized to the given value. |
static TransformOperation |
fromRenameColumnOperation(RenameColumnOperation renameColumnOperation)
Create an instance of this class with
renameColumnOperation() initialized to the given value. |
static TransformOperation |
fromTagColumnOperation(Consumer<TagColumnOperation.Builder> tagColumnOperation)
Create an instance of this class with
tagColumnOperation() initialized to the given value. |
static TransformOperation |
fromTagColumnOperation(TagColumnOperation tagColumnOperation)
Create an instance of this class with
tagColumnOperation() initialized to the given value. |
static TransformOperation |
fromUntagColumnOperation(Consumer<UntagColumnOperation.Builder> untagColumnOperation)
Create an instance of this class with
untagColumnOperation() initialized to the given value. |
static TransformOperation |
fromUntagColumnOperation(UntagColumnOperation untagColumnOperation)
Create an instance of this class with
untagColumnOperation() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
OverrideDatasetParameterOperation |
overrideDatasetParameterOperation()
Returns the value of the OverrideDatasetParameterOperation property for this object.
|
ProjectOperation |
projectOperation()
An operation that projects columns.
|
RenameColumnOperation |
renameColumnOperation()
An operation that renames a column.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TransformOperation.Builder> |
serializableBuilderClass() |
TagColumnOperation |
tagColumnOperation()
An operation that tags a column with additional information.
|
TransformOperation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
TransformOperation.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
UntagColumnOperation |
untagColumnOperation()
Returns the value of the UntagColumnOperation property for this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ProjectOperation projectOperation()
An operation that projects columns. Operations that come after a projection can only refer to projected columns.
public final FilterOperation filterOperation()
An operation that filters rows based on some condition.
public final CreateColumnsOperation createColumnsOperation()
An operation that creates calculated columns. Columns created in one such operation form a lexical closure.
public final RenameColumnOperation renameColumnOperation()
An operation that renames a column.
public final CastColumnTypeOperation castColumnTypeOperation()
A transform operation that casts a column to a different type.
public final TagColumnOperation tagColumnOperation()
An operation that tags a column with additional information.
public final UntagColumnOperation untagColumnOperation()
public final OverrideDatasetParameterOperation overrideDatasetParameterOperation()
public TransformOperation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TransformOperation.Builder,TransformOperation>public static TransformOperation.Builder builder()
public static Class<? extends TransformOperation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static TransformOperation fromProjectOperation(ProjectOperation projectOperation)
projectOperation() initialized to the given value.
An operation that projects columns. Operations that come after a projection can only refer to projected columns.
projectOperation - An operation that projects columns. Operations that come after a projection can only refer to projected
columns.public static TransformOperation fromProjectOperation(Consumer<ProjectOperation.Builder> projectOperation)
projectOperation() initialized to the given value.
An operation that projects columns. Operations that come after a projection can only refer to projected columns.
projectOperation - An operation that projects columns. Operations that come after a projection can only refer to projected
columns.public static TransformOperation fromFilterOperation(FilterOperation filterOperation)
filterOperation() initialized to the given value.
An operation that filters rows based on some condition.
filterOperation - An operation that filters rows based on some condition.public static TransformOperation fromFilterOperation(Consumer<FilterOperation.Builder> filterOperation)
filterOperation() initialized to the given value.
An operation that filters rows based on some condition.
filterOperation - An operation that filters rows based on some condition.public static TransformOperation fromCreateColumnsOperation(CreateColumnsOperation createColumnsOperation)
createColumnsOperation() initialized to the given value.
An operation that creates calculated columns. Columns created in one such operation form a lexical closure.
createColumnsOperation - An operation that creates calculated columns. Columns created in one such operation form a lexical
closure.public static TransformOperation fromCreateColumnsOperation(Consumer<CreateColumnsOperation.Builder> createColumnsOperation)
createColumnsOperation() initialized to the given value.
An operation that creates calculated columns. Columns created in one such operation form a lexical closure.
createColumnsOperation - An operation that creates calculated columns. Columns created in one such operation form a lexical
closure.public static TransformOperation fromRenameColumnOperation(RenameColumnOperation renameColumnOperation)
renameColumnOperation() initialized to the given value.
An operation that renames a column.
renameColumnOperation - An operation that renames a column.public static TransformOperation fromRenameColumnOperation(Consumer<RenameColumnOperation.Builder> renameColumnOperation)
renameColumnOperation() initialized to the given value.
An operation that renames a column.
renameColumnOperation - An operation that renames a column.public static TransformOperation fromCastColumnTypeOperation(CastColumnTypeOperation castColumnTypeOperation)
castColumnTypeOperation() initialized to the given value.
A transform operation that casts a column to a different type.
castColumnTypeOperation - A transform operation that casts a column to a different type.public static TransformOperation fromCastColumnTypeOperation(Consumer<CastColumnTypeOperation.Builder> castColumnTypeOperation)
castColumnTypeOperation() initialized to the given value.
A transform operation that casts a column to a different type.
castColumnTypeOperation - A transform operation that casts a column to a different type.public static TransformOperation fromTagColumnOperation(TagColumnOperation tagColumnOperation)
tagColumnOperation() initialized to the given value.
An operation that tags a column with additional information.
tagColumnOperation - An operation that tags a column with additional information.public static TransformOperation fromTagColumnOperation(Consumer<TagColumnOperation.Builder> tagColumnOperation)
tagColumnOperation() initialized to the given value.
An operation that tags a column with additional information.
tagColumnOperation - An operation that tags a column with additional information.public static TransformOperation fromUntagColumnOperation(UntagColumnOperation untagColumnOperation)
untagColumnOperation() initialized to the given value.
Sets the value of the UntagColumnOperation property for this object.untagColumnOperation - The new value for the UntagColumnOperation property for this object.public static TransformOperation fromUntagColumnOperation(Consumer<UntagColumnOperation.Builder> untagColumnOperation)
untagColumnOperation() initialized to the given value.
Sets the value of the UntagColumnOperation property for this object.untagColumnOperation - The new value for the UntagColumnOperation property for this object.public static TransformOperation fromOverrideDatasetParameterOperation(OverrideDatasetParameterOperation overrideDatasetParameterOperation)
overrideDatasetParameterOperation() initialized to the given
value.
Sets the value of the OverrideDatasetParameterOperation property for this object.overrideDatasetParameterOperation - The new value for the OverrideDatasetParameterOperation property for this object.public static TransformOperation fromOverrideDatasetParameterOperation(Consumer<OverrideDatasetParameterOperation.Builder> overrideDatasetParameterOperation)
overrideDatasetParameterOperation() initialized to the given
value.
Sets the value of the OverrideDatasetParameterOperation property for this object.overrideDatasetParameterOperation - The new value for the OverrideDatasetParameterOperation property for this object.public TransformOperation.Type type()
TransformOperation.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be TransformOperation.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.