Interface StorageDescriptor.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<StorageDescriptor.Builder,
,StorageDescriptor> SdkBuilder<StorageDescriptor.Builder,
,StorageDescriptor> SdkPojo
- Enclosing class:
StorageDescriptor
-
Method Summary
Modifier and TypeMethodDescriptionadditionalLocations
(String... additionalLocations) A list of locations that point to the path where a Delta table is located.additionalLocations
(Collection<String> additionalLocations) A list of locations that point to the path where a Delta table is located.bucketColumns
(String... bucketColumns) A list of reducer grouping columns, clustering columns, and bucketing columns in the table.bucketColumns
(Collection<String> bucketColumns) A list of reducer grouping columns, clustering columns, and bucketing columns in the table.columns
(Collection<Column> columns) A list of theColumns
in the table.columns
(Consumer<Column.Builder>... columns) A list of theColumns
in the table.A list of theColumns
in the table.compressed
(Boolean compressed) True
if the data in the table is compressed, orFalse
if not.inputFormat
(String inputFormat) The input format:SequenceFileInputFormat
(binary), orTextInputFormat
, or a custom format.The physical location of the table.numberOfBuckets
(Integer numberOfBuckets) Must be specified if the table contains any dimension columns.outputFormat
(String outputFormat) The output format:SequenceFileOutputFormat
(binary), orIgnoreKeyTextOutputFormat
, or a custom format.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.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.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).skewedInfo
(SkewedInfo skewedInfo) The information about values that appear frequently in a column (skewed values).sortColumns
(Collection<Order> sortColumns) A list specifying the sort order of each bucket in the table.sortColumns
(Consumer<Order.Builder>... sortColumns) A list specifying the sort order of each bucket in the table.sortColumns
(Order... sortColumns) A list specifying the sort order of each bucket in the table.storedAsSubDirectories
(Boolean storedAsSubDirectories) True
if the table data is stored in subdirectories, orFalse
if not.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
columns
A list of the
Columns
in the table.- Parameters:
columns
- A list of theColumns
in the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columns
A list of the
Columns
in the table.- Parameters:
columns
- A list of theColumns
in the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columns
A list of the
This is a convenience method that creates an instance of theColumns
in the table.Column.Builder
avoiding the need to create one manually viaColumn.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocolumns(List<Column>)
.- Parameters:
columns
- a consumer that will call methods onColumn.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalLocations
A list of locations that point to the path where a Delta table is located.
- Parameters:
additionalLocations
- A list of locations that point to the path where a Delta table is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalLocations
A list of locations that point to the path where a Delta table is located.
- Parameters:
additionalLocations
- A list of locations that point to the path where a Delta table is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputFormat
The input format:
SequenceFileInputFormat
(binary), orTextInputFormat
, or a custom format.- Parameters:
inputFormat
- The input format:SequenceFileInputFormat
(binary), orTextInputFormat
, or a custom format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputFormat
The output format:
SequenceFileOutputFormat
(binary), orIgnoreKeyTextOutputFormat
, or a custom format.- Parameters:
outputFormat
- The output format:SequenceFileOutputFormat
(binary), orIgnoreKeyTextOutputFormat
, or a custom format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compressed
True
if the data in the table is compressed, orFalse
if not.- Parameters:
compressed
-True
if the data in the table is compressed, orFalse
if not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberOfBuckets
Must be specified if the table contains any dimension columns.
- Parameters:
numberOfBuckets
- Must be specified if the table contains any dimension columns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serdeInfo
The serialization/deserialization (SerDe) information.
- Parameters:
serdeInfo
- The serialization/deserialization (SerDe) information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaSerDeInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toserdeInfo(SerDeInfo)
.- Parameters:
serdeInfo
- a consumer that will call methods onSerDeInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
bucketColumns
A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
- Parameters:
bucketColumns
- A list of reducer grouping columns, clustering columns, and bucketing columns in the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bucketColumns
A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
- Parameters:
bucketColumns
- A list of reducer grouping columns, clustering columns, and bucketing columns in the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortColumns
A list specifying the sort order of each bucket in the table.
- Parameters:
sortColumns
- A list specifying the sort order of each bucket in the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortColumns
A list specifying the sort order of each bucket in the table.
- Parameters:
sortColumns
- A list specifying the sort order of each bucket in the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaOrder.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosortColumns(List<Order>)
.- Parameters:
sortColumns
- a consumer that will call methods onOrder.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
parameters
The user-supplied properties in key-value form.
- Parameters:
parameters
- The user-supplied properties in key-value form.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
skewedInfo
The information about values that appear frequently in a column (skewed values).
- Parameters:
skewedInfo
- The information about values that appear frequently in a column (skewed values).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaSkewedInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toskewedInfo(SkewedInfo)
.- Parameters:
skewedInfo
- a consumer that will call methods onSkewedInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
storedAsSubDirectories
True
if the table data is stored in subdirectories, orFalse
if not.- Parameters:
storedAsSubDirectories
-True
if the table data is stored in subdirectories, orFalse
if not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemaReference
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 viaSchemaReference.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toschemaReference(SchemaReference)
.- Parameters:
schemaReference
- a consumer that will call methods onSchemaReference.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-