Interface CfnPartitionPropsMixin.PartitionInputProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPartitionPropsMixin.PartitionInputProperty.Jsii$Proxy
- Enclosing class:
CfnPartitionPropsMixin
@Stability(Stable)
public static interface CfnPartitionPropsMixin.PartitionInputProperty
extends software.amazon.jsii.JsiiSerializable
The structure used to create and update a partition.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.glue.*;
Object parameters;
Object skewedColumnValueLocationMaps;
PartitionInputProperty partitionInputProperty = PartitionInputProperty.builder()
.parameters(parameters)
.storageDescriptor(StorageDescriptorProperty.builder()
.bucketColumns(List.of("bucketColumns"))
.columns(List.of(ColumnProperty.builder()
.comment("comment")
.name("name")
.type("type")
.build()))
.compressed(false)
.inputFormat("inputFormat")
.location("location")
.numberOfBuckets(123)
.outputFormat("outputFormat")
.parameters(parameters)
.schemaReference(SchemaReferenceProperty.builder()
.schemaId(SchemaIdProperty.builder()
.registryName("registryName")
.schemaArn("schemaArn")
.schemaName("schemaName")
.build())
.schemaVersionId("schemaVersionId")
.schemaVersionNumber(123)
.build())
.serdeInfo(SerdeInfoProperty.builder()
.name("name")
.parameters(parameters)
.serializationLibrary("serializationLibrary")
.build())
.skewedInfo(SkewedInfoProperty.builder()
.skewedColumnNames(List.of("skewedColumnNames"))
.skewedColumnValueLocationMaps(skewedColumnValueLocationMaps)
.skewedColumnValues(List.of("skewedColumnValues"))
.build())
.sortColumns(List.of(OrderProperty.builder()
.column("column")
.sortOrder(123)
.build()))
.storedAsSubDirectories(false)
.build())
.values(List.of("values"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPartitionPropsMixin.PartitionInputPropertystatic final classAn implementation forCfnPartitionPropsMixin.PartitionInputProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getParameters
These key-value pairs define partition parameters.- See Also:
-
getStorageDescriptor
Provides information about the physical location where the partition is stored.Returns union: either
IResolvableorCfnPartitionPropsMixin.StorageDescriptorProperty- See Also:
-
getValues
The values of the partition.Although this parameter is not required by the SDK, you must specify this parameter for a valid input.
The values for the keys for the new partition must be passed as an array of String objects that must be ordered in the same order as the partition keys appearing in the Amazon S3 prefix. Otherwise AWS Glue will add the values to the wrong keys.
- See Also:
-
builder
-