public static interface StorageDescriptor.Builder extends SdkPojo, CopyableBuilder<StorageDescriptor.Builder,StorageDescriptor>
| Modifier and Type | Method and Description |
|---|---|
StorageDescriptor.Builder |
additionalLocations(Collection<String> additionalLocations)
A list of locations that point to the path where a Delta table is located.
|
StorageDescriptor.Builder |
additionalLocations(String... additionalLocations)
A list of locations that point to the path where a Delta table is located.
|
StorageDescriptor.Builder |
bucketColumns(Collection<String> bucketColumns)
A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
|
StorageDescriptor.Builder |
bucketColumns(String... bucketColumns)
A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
|
StorageDescriptor.Builder |
columns(Collection<Column> columns)
A list of the
Columns in the table. |
StorageDescriptor.Builder |
columns(Column... columns)
A list of the
Columns in the table. |
StorageDescriptor.Builder |
columns(Consumer<Column.Builder>... columns)
A list of the
Columns in the table. |
StorageDescriptor.Builder |
compressed(Boolean compressed)
True if the data in the table is compressed, or False if not. |
StorageDescriptor.Builder |
inputFormat(String inputFormat)
The input format:
SequenceFileInputFormat (binary), or TextInputFormat, or a custom
format. |
StorageDescriptor.Builder |
location(String location)
The physical location of the table.
|
StorageDescriptor.Builder |
numberOfBuckets(Integer numberOfBuckets)
Must be specified if the table contains any dimension columns.
|
StorageDescriptor.Builder |
outputFormat(String outputFormat)
The output format:
SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat,
or a custom format. |
StorageDescriptor.Builder |
parameters(Map<String,String> parameters)
The user-supplied properties in key-value form.
|
default StorageDescriptor.Builder |
schemaReference(Consumer<SchemaReference.Builder> schemaReference)
An object that references a schema stored in the Glue Schema Registry.
|
StorageDescriptor.Builder |
schemaReference(SchemaReference schemaReference)
An object that references a schema stored in the Glue Schema Registry.
|
default StorageDescriptor.Builder |
serdeInfo(Consumer<SerDeInfo.Builder> serdeInfo)
The serialization/deserialization (SerDe) information.
|
StorageDescriptor.Builder |
serdeInfo(SerDeInfo serdeInfo)
The serialization/deserialization (SerDe) information.
|
default StorageDescriptor.Builder |
skewedInfo(Consumer<SkewedInfo.Builder> skewedInfo)
The information about values that appear frequently in a column (skewed values).
|
StorageDescriptor.Builder |
skewedInfo(SkewedInfo skewedInfo)
The information about values that appear frequently in a column (skewed values).
|
StorageDescriptor.Builder |
sortColumns(Collection<Order> sortColumns)
A list specifying the sort order of each bucket in the table.
|
StorageDescriptor.Builder |
sortColumns(Consumer<Order.Builder>... sortColumns)
A list specifying the sort order of each bucket in the table.
|
StorageDescriptor.Builder |
sortColumns(Order... sortColumns)
A list specifying the sort order of each bucket in the table.
|
StorageDescriptor.Builder |
storedAsSubDirectories(Boolean storedAsSubDirectories)
True if the table data is stored in subdirectories, or False if not. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildStorageDescriptor.Builder columns(Collection<Column> columns)
A list of the Columns in the table.
columns - A list of the Columns in the table.StorageDescriptor.Builder columns(Column... columns)
A list of the Columns in the table.
columns - A list of the Columns in the table.StorageDescriptor.Builder columns(Consumer<Column.Builder>... columns)
A list of the Columns in the table.
Column.Builder avoiding the need to create one manually
via Column.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #columns(List.
columns - a consumer that will call methods on Column.Builder#columns(java.util.Collection) StorageDescriptor.Builder location(String location)
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.
location - 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.StorageDescriptor.Builder additionalLocations(Collection<String> additionalLocations)
A list of locations that point to the path where a Delta table is located.
additionalLocations - A list of locations that point to the path where a Delta table is located.StorageDescriptor.Builder additionalLocations(String... additionalLocations)
A list of locations that point to the path where a Delta table is located.
additionalLocations - A list of locations that point to the path where a Delta table is located.StorageDescriptor.Builder inputFormat(String inputFormat)
The input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom
format.
inputFormat - The input format: SequenceFileInputFormat (binary), or TextInputFormat, or a
custom format.StorageDescriptor.Builder outputFormat(String outputFormat)
The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat,
or a custom format.
outputFormat - The output format: SequenceFileOutputFormat (binary), or
IgnoreKeyTextOutputFormat, or a custom format.StorageDescriptor.Builder compressed(Boolean compressed)
True if the data in the table is compressed, or False if not.
compressed - True if the data in the table is compressed, or False if not.StorageDescriptor.Builder numberOfBuckets(Integer numberOfBuckets)
Must be specified if the table contains any dimension columns.
numberOfBuckets - Must be specified if the table contains any dimension columns.StorageDescriptor.Builder serdeInfo(SerDeInfo serdeInfo)
The serialization/deserialization (SerDe) information.
serdeInfo - The serialization/deserialization (SerDe) information.default StorageDescriptor.Builder serdeInfo(Consumer<SerDeInfo.Builder> serdeInfo)
The serialization/deserialization (SerDe) information.
This is a convenience method that creates an instance of theSerDeInfo.Builder avoiding the need to
create one manually via SerDeInfo.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to serdeInfo(SerDeInfo).
serdeInfo - a consumer that will call methods on SerDeInfo.BuilderserdeInfo(SerDeInfo)StorageDescriptor.Builder bucketColumns(Collection<String> bucketColumns)
A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
bucketColumns - A list of reducer grouping columns, clustering columns, and bucketing columns in the table.StorageDescriptor.Builder bucketColumns(String... bucketColumns)
A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
bucketColumns - A list of reducer grouping columns, clustering columns, and bucketing columns in the table.StorageDescriptor.Builder sortColumns(Collection<Order> sortColumns)
A list specifying the sort order of each bucket in the table.
sortColumns - A list specifying the sort order of each bucket in the table.StorageDescriptor.Builder sortColumns(Order... sortColumns)
A list specifying the sort order of each bucket in the table.
sortColumns - A list specifying the sort order of each bucket in the table.StorageDescriptor.Builder sortColumns(Consumer<Order.Builder>... sortColumns)
A list specifying the sort order of each bucket in the table.
This is a convenience method that creates an instance of theOrder.Builder avoiding the need to create one manually via
Order.builder().
When the Consumer completes, SdkBuilder.build()
is called immediately and its result is passed to #sortColumns(List.
sortColumns - a consumer that will call methods on Order.Builder#sortColumns(java.util.Collection) StorageDescriptor.Builder parameters(Map<String,String> parameters)
The user-supplied properties in key-value form.
parameters - The user-supplied properties in key-value form.StorageDescriptor.Builder skewedInfo(SkewedInfo skewedInfo)
The information about values that appear frequently in a column (skewed values).
skewedInfo - The information about values that appear frequently in a column (skewed values).default StorageDescriptor.Builder skewedInfo(Consumer<SkewedInfo.Builder> skewedInfo)
The information about values that appear frequently in a column (skewed values).
This is a convenience method that creates an instance of theSkewedInfo.Builder avoiding the need to
create one manually via SkewedInfo.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to skewedInfo(SkewedInfo).
skewedInfo - a consumer that will call methods on SkewedInfo.BuilderskewedInfo(SkewedInfo)StorageDescriptor.Builder storedAsSubDirectories(Boolean storedAsSubDirectories)
True if the table data is stored in subdirectories, or False if not.
storedAsSubDirectories - True if the table data is stored in subdirectories, or False if not.StorageDescriptor.Builder schemaReference(SchemaReference schemaReference)
An object that references a schema stored in the Glue Schema Registry.
When creating a table, you can pass an empty list of columns for the schema, and instead use a schema reference.
schemaReference - An object that references a schema stored in the Glue Schema Registry.
When creating a table, you can pass an empty list of columns for the schema, and instead use a schema reference.
default StorageDescriptor.Builder schemaReference(Consumer<SchemaReference.Builder> schemaReference)
An object that references a schema stored in the Glue Schema Registry.
When creating a table, you can pass an empty list of columns for the schema, and instead use a schema reference.
This is a convenience method that creates an instance of theSchemaReference.Builder avoiding the
need to create one manually via SchemaReference.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to schemaReference(SchemaReference).
schemaReference - a consumer that will call methods on SchemaReference.BuilderschemaReference(SchemaReference)Copyright © 2023. All rights reserved.