public static interface CfnPartition.StorageDescriptorProperty
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();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnPartition.StorageDescriptorProperty.Builder
A builder for
CfnPartition.StorageDescriptorProperty |
static class |
CfnPartition.StorageDescriptorProperty.Jsii$Proxy
An implementation for
CfnPartition.StorageDescriptorProperty |
Modifier and Type | Method and Description |
---|---|
static CfnPartition.StorageDescriptorProperty.Builder |
builder() |
default java.util.List<java.lang.String> |
getBucketColumns()
A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
|
default java.lang.Object |
getColumns()
A list of the `Columns` in the table.
|
default java.lang.Object |
getCompressed()
`True` if the data in the table is compressed, or `False` if not.
|
default java.lang.String |
getInputFormat()
The input format: `SequenceFileInputFormat` (binary), or `TextInputFormat` , or a custom format.
|
default java.lang.String |
getLocation()
The physical location of the table.
|
default java.lang.Number |
getNumberOfBuckets()
The number of buckets.
|
default java.lang.String |
getOutputFormat()
The output format: `SequenceFileOutputFormat` (binary), or `IgnoreKeyTextOutputFormat` , or a custom format.
|
default java.lang.Object |
getParameters()
The user-supplied properties in key-value form.
|
default java.lang.Object |
getSchemaReference()
An object that references a schema stored in the AWS Glue Schema Registry.
|
default java.lang.Object |
getSerdeInfo()
The serialization/deserialization (SerDe) information.
|
default java.lang.Object |
getSkewedInfo()
The information about values that appear frequently in a column (skewed values).
|
default java.lang.Object |
getSortColumns()
A list specifying the sort order of each bucket in the table.
|
default java.lang.Object |
getStoredAsSubDirectories()
`True` if the table data is stored in subdirectories, or `False` if not.
|
default java.util.List<java.lang.String> getBucketColumns()
default java.lang.Object getColumns()
default java.lang.Object getCompressed()
default java.lang.String getInputFormat()
default java.lang.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.
default java.lang.Number getNumberOfBuckets()
You must specify this property if the partition contains any dimension columns.
default java.lang.String getOutputFormat()
default java.lang.Object getParameters()
default java.lang.Object getSchemaReference()
default java.lang.Object getSerdeInfo()
default java.lang.Object getSkewedInfo()
default java.lang.Object getSortColumns()
default java.lang.Object getStoredAsSubDirectories()
static CfnPartition.StorageDescriptorProperty.Builder builder()