Class TableOptimizer
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TableOptimizer.Builder,TableOptimizer>
Contains details about an optimizer associated with a table.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic TableOptimizer.Builderbuilder()ATableOptimizerConfigurationobject that was specified when creating or updating a table optimizer.final ConfigurationSourceSpecifies the source of the optimizer configuration.final StringSpecifies the source of the optimizer configuration.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final TableOptimizerRunlastRun()ATableOptimizerRunobject representing the last run of the table optimizer.static Class<? extends TableOptimizer.Builder>final StringtoString()Returns a string representation of this object.final TableOptimizerTypetype()The type of table optimizer.final StringThe type of table optimizer.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
type
The type of table optimizer. The valid values are:
-
compaction: for managing compaction with a table optimizer. -
retention: for managing the retention of snapshot with a table optimizer. -
orphan_file_deletion: for managing the deletion of orphan files with a table optimizer.
If the service returns an enum value that is not available in the current SDK version,
typewill returnTableOptimizerType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of table optimizer. The valid values are:
-
compaction: for managing compaction with a table optimizer. -
retention: for managing the retention of snapshot with a table optimizer. -
orphan_file_deletion: for managing the deletion of orphan files with a table optimizer.
-
- See Also:
-
-
typeAsString
The type of table optimizer. The valid values are:
-
compaction: for managing compaction with a table optimizer. -
retention: for managing the retention of snapshot with a table optimizer. -
orphan_file_deletion: for managing the deletion of orphan files with a table optimizer.
If the service returns an enum value that is not available in the current SDK version,
typewill returnTableOptimizerType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of table optimizer. The valid values are:
-
compaction: for managing compaction with a table optimizer. -
retention: for managing the retention of snapshot with a table optimizer. -
orphan_file_deletion: for managing the deletion of orphan files with a table optimizer.
-
- See Also:
-
-
configuration
A
TableOptimizerConfigurationobject that was specified when creating or updating a table optimizer.- Returns:
- A
TableOptimizerConfigurationobject that was specified when creating or updating a table optimizer.
-
lastRun
A
TableOptimizerRunobject representing the last run of the table optimizer.- Returns:
- A
TableOptimizerRunobject representing the last run of the table optimizer.
-
configurationSource
Specifies the source of the optimizer configuration. This indicates how the table optimizer was configured and which entity or service initiated the configuration.
If the service returns an enum value that is not available in the current SDK version,
configurationSourcewill returnConfigurationSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconfigurationSourceAsString().- Returns:
- Specifies the source of the optimizer configuration. This indicates how the table optimizer was configured and which entity or service initiated the configuration.
- See Also:
-
configurationSourceAsString
Specifies the source of the optimizer configuration. This indicates how the table optimizer was configured and which entity or service initiated the configuration.
If the service returns an enum value that is not available in the current SDK version,
configurationSourcewill returnConfigurationSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconfigurationSourceAsString().- Returns:
- Specifies the source of the optimizer configuration. This indicates how the table optimizer was configured and which entity or service initiated the configuration.
- See Also:
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<TableOptimizer.Builder,TableOptimizer>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-