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 theColumnsin the table.columns(Consumer<Column.Builder>... columns) A list of theColumnsin the table.A list of theColumnsin the table.compressed(Boolean compressed) Trueif the data in the table is compressed, orFalseif 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.BuilderschemaReference(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.BuilderserdeInfo(Consumer<SerDeInfo.Builder> serdeInfo) The serialization/deserialization (SerDe) information.The serialization/deserialization (SerDe) information.default StorageDescriptor.BuilderskewedInfo(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) Trueif the table data is stored in subdirectories, orFalseif not.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
columns
A list of the
Columnsin the table.- Parameters:
columns- A list of theColumnsin the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columns
A list of the
Columnsin the table.- Parameters:
columns- A list of theColumnsin 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 theColumnsin the table.Column.Builderavoiding the need to create one manually viaColumn.builder().When the
Consumercompletes,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
Trueif the data in the table is compressed, orFalseif not.- Parameters:
compressed-Trueif the data in the table is compressed, orFalseif 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.Builderavoiding the need to create one manually viaSerDeInfo.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaOrder.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaSkewedInfo.builder().When the
Consumercompletes,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
Trueif the table data is stored in subdirectories, orFalseif not.- Parameters:
storedAsSubDirectories-Trueif the table data is stored in subdirectories, orFalseif 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.Builderavoiding the need to create one manually viaSchemaReference.builder().When the
Consumercompletes,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:
-