@Stability(value=Stable)
public static interface CfnPartition.PartitionInputProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.glue.*;
Object parameters;
Object skewedColumnValueLocationMaps;
PartitionInputProperty partitionInputProperty = PartitionInputProperty.builder()
.values(List.of("values"))
// the properties below are optional
.parameters(parameters)
.storageDescriptor(StorageDescriptorProperty.builder()
.bucketColumns(List.of("bucketColumns"))
.columns(List.of(ColumnProperty.builder()
.name("name")
// the properties below are optional
.comment("comment")
.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")
// the properties below are optional
.sortOrder(123)
.build()))
.storedAsSubDirectories(false)
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnPartition.PartitionInputProperty.Builder
A builder for
CfnPartition.PartitionInputProperty |
static class |
CfnPartition.PartitionInputProperty.Jsii$Proxy
An implementation for
CfnPartition.PartitionInputProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnPartition.PartitionInputProperty.Builder |
builder() |
default Object |
getParameters()
These key-value pairs define partition parameters.
|
default Object |
getStorageDescriptor()
Provides information about the physical location where the partition is stored.
|
List<String> |
getValues()
The values of the partition.
|
@Stability(value=Stable) @NotNull List<String> getValues()
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.
@Stability(value=Stable) @Nullable default Object getParameters()
@Stability(value=Stable) @Nullable default Object getStorageDescriptor()
@Stability(value=Stable) static CfnPartition.PartitionInputProperty.Builder builder()
Copyright © 2022. All rights reserved.