@Stability(value=Stable)
public static interface CfnTable.StorageDescriptorProperty
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;
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")
.sortOrder(123)
.build()))
.storedAsSubDirectories(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnTable.StorageDescriptorProperty.Builder
A builder for
CfnTable.StorageDescriptorProperty |
static class |
CfnTable.StorageDescriptorProperty.Jsii$Proxy
An implementation for
CfnTable.StorageDescriptorProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnTable.StorageDescriptorProperty.Builder |
builder() |
default List<String> |
getBucketColumns()
A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
|
default Object |
getColumns()
A list of the `Columns` in the table.
|
default Object |
getCompressed()
`True` if the data in the table is compressed, or `False` if not.
|
default String |
getInputFormat()
The input format: `SequenceFileInputFormat` (binary), or `TextInputFormat` , or a custom format.
|
default String |
getLocation()
The physical location of the table.
|
default Number |
getNumberOfBuckets()
Must be specified if the table contains any dimension columns.
|
default String |
getOutputFormat()
The output format: `SequenceFileOutputFormat` (binary), or `IgnoreKeyTextOutputFormat` , or a custom format.
|
default Object |
getParameters()
The user-supplied properties in key-value form.
|
default Object |
getSchemaReference()
An object that references a schema stored in the AWS Glue Schema Registry.
|
default Object |
getSerdeInfo()
The serialization/deserialization (SerDe) information.
|
default Object |
getSkewedInfo()
The information about values that appear frequently in a column (skewed values).
|
default Object |
getSortColumns()
A list specifying the sort order of each bucket in the table.
|
default Object |
getStoredAsSubDirectories()
`True` if the table data is stored in subdirectories, or `False` if not.
|
@Stability(value=Stable) @Nullable default List<String> getBucketColumns()
@Stability(value=Stable) @Nullable default Object getColumns()
@Stability(value=Stable) @Nullable default Object getCompressed()
@Stability(value=Stable) @Nullable default String getInputFormat()
@Stability(value=Stable) @Nullable default String getLocation()
By default, this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name.
@Stability(value=Stable) @Nullable default Number getNumberOfBuckets()
@Stability(value=Stable) @Nullable default String getOutputFormat()
@Stability(value=Stable) @Nullable default Object getParameters()
@Stability(value=Stable) @Nullable default Object getSchemaReference()
@Stability(value=Stable) @Nullable default Object getSerdeInfo()
@Stability(value=Stable) @Nullable default Object getSkewedInfo()
@Stability(value=Stable) @Nullable default Object getSortColumns()
@Stability(value=Stable) @Nullable default Object getStoredAsSubDirectories()
@Stability(value=Stable) static CfnTable.StorageDescriptorProperty.Builder builder()
Copyright © 2022. All rights reserved.