Interface CfnPartition.StorageDescriptorProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPartition.StorageDescriptorProperty.Jsii$Proxy
- Enclosing class:
CfnPartition
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;
StorageDescriptorProperty storageDescriptorProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPartition.StorageDescriptorPropertystatic final classAn implementation forCfnPartition.StorageDescriptorProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()A list of reducer grouping columns, clustering columns, and bucketing columns in the table.default ObjectA list of theColumnsin the table.default ObjectTrueif the data in the table is compressed, orFalseif not.default StringThe input format:SequenceFileInputFormat(binary), orTextInputFormat, or a custom format.default StringThe physical location of the table.default NumberThe number of buckets.default StringThe output format:SequenceFileOutputFormat(binary), orIgnoreKeyTextOutputFormat, or a custom format.default ObjectThe user-supplied properties in key-value form.default ObjectAn object that references a schema stored in the AWS Glue Schema Registry.default ObjectThe serialization/deserialization (SerDe) information.default ObjectThe information about values that appear frequently in a column (skewed values).default ObjectA list specifying the sort order of each bucket in the table.default ObjectTrueif the table data is stored in subdirectories, orFalseif not.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBucketColumns
A list of reducer grouping columns, clustering columns, and bucketing columns in the table.- See Also:
-
getColumns
A list of theColumnsin the table.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnPartition.ColumnProperty>- See Also:
-
getCompressed
Trueif the data in the table is compressed, orFalseif not.Returns union: either
BooleanorIResolvable- See Also:
-
getInputFormat
The input format:SequenceFileInputFormat(binary), orTextInputFormat, or a custom format.- See Also:
-
getLocation
The physical location of the table.By default, this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name.
- See Also:
-
getNumberOfBuckets
The number of buckets.You must specify this property if the partition contains any dimension columns.
- See Also:
-
getOutputFormat
The output format:SequenceFileOutputFormat(binary), orIgnoreKeyTextOutputFormat, or a custom format.- See Also:
-
getParameters
The user-supplied properties in key-value form.- See Also:
-
getSchemaReference
An object that references a schema stored in the AWS Glue Schema Registry.Returns union: either
IResolvableorCfnPartition.SchemaReferenceProperty- See Also:
-
getSerdeInfo
The serialization/deserialization (SerDe) information.Returns union: either
IResolvableorCfnPartition.SerdeInfoProperty- See Also:
-
getSkewedInfo
The information about values that appear frequently in a column (skewed values).Returns union: either
IResolvableorCfnPartition.SkewedInfoProperty- See Also:
-
getSortColumns
A list specifying the sort order of each bucket in the table.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnPartition.OrderProperty>- See Also:
-
getStoredAsSubDirectories
Trueif the table data is stored in subdirectories, orFalseif not.Returns union: either
BooleanorIResolvable- See Also:
-
builder
-