public static interface TableInput.Builder extends SdkPojo, CopyableBuilder<TableInput.Builder,TableInput>
| Modifier and Type | Method and Description |
|---|---|
TableInput.Builder |
description(String description)
A description of the table.
|
TableInput.Builder |
lastAccessTime(Instant lastAccessTime)
The last time that the table was accessed.
|
TableInput.Builder |
lastAnalyzedTime(Instant lastAnalyzedTime)
The last time that column statistics were computed for this table.
|
TableInput.Builder |
name(String name)
The table name.
|
TableInput.Builder |
owner(String owner)
The table owner.
|
TableInput.Builder |
parameters(Map<String,String> parameters)
These key-value pairs define properties associated with the table.
|
TableInput.Builder |
partitionKeys(Collection<Column> partitionKeys)
A list of columns by which the table is partitioned.
|
TableInput.Builder |
partitionKeys(Column... partitionKeys)
A list of columns by which the table is partitioned.
|
TableInput.Builder |
partitionKeys(Consumer<Column.Builder>... partitionKeys)
A list of columns by which the table is partitioned.
|
TableInput.Builder |
retention(Integer retention)
The retention time for this table.
|
default TableInput.Builder |
storageDescriptor(Consumer<StorageDescriptor.Builder> storageDescriptor)
A storage descriptor containing information about the physical storage of this table.
|
TableInput.Builder |
storageDescriptor(StorageDescriptor storageDescriptor)
A storage descriptor containing information about the physical storage of this table.
|
TableInput.Builder |
tableType(String tableType)
The type of this table.
|
default TableInput.Builder |
targetTable(Consumer<TableIdentifier.Builder> targetTable)
A
TableIdentifier structure that describes a target table for resource linking. |
TableInput.Builder |
targetTable(TableIdentifier targetTable)
A
TableIdentifier structure that describes a target table for resource linking. |
TableInput.Builder |
viewExpandedText(String viewExpandedText)
Included for Apache Hive compatibility.
|
TableInput.Builder |
viewOriginalText(String viewOriginalText)
Included for Apache Hive compatibility.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTableInput.Builder name(String name)
The table name. For Hive compatibility, this is folded to lowercase when it is stored.
name - The table name. For Hive compatibility, this is folded to lowercase when it is stored.TableInput.Builder description(String description)
A description of the table.
description - A description of the table.TableInput.Builder owner(String owner)
The table owner. Included for Apache Hive compatibility. Not used in the normal course of Glue operations.
owner - The table owner. Included for Apache Hive compatibility. Not used in the normal course of Glue
operations.TableInput.Builder lastAccessTime(Instant lastAccessTime)
The last time that the table was accessed.
lastAccessTime - The last time that the table was accessed.TableInput.Builder lastAnalyzedTime(Instant lastAnalyzedTime)
The last time that column statistics were computed for this table.
lastAnalyzedTime - The last time that column statistics were computed for this table.TableInput.Builder retention(Integer retention)
The retention time for this table.
retention - The retention time for this table.TableInput.Builder storageDescriptor(StorageDescriptor storageDescriptor)
A storage descriptor containing information about the physical storage of this table.
storageDescriptor - A storage descriptor containing information about the physical storage of this table.default TableInput.Builder storageDescriptor(Consumer<StorageDescriptor.Builder> storageDescriptor)
A storage descriptor containing information about the physical storage of this table.
This is a convenience method that creates an instance of theStorageDescriptor.Builder avoiding the
need to create one manually via StorageDescriptor.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to storageDescriptor(StorageDescriptor).
storageDescriptor - a consumer that will call methods on StorageDescriptor.BuilderstorageDescriptor(StorageDescriptor)TableInput.Builder partitionKeys(Collection<Column> partitionKeys)
A list of columns by which the table is partitioned. Only primitive types are supported as partition keys.
When you create a table used by Amazon Athena, and you do not specify any partitionKeys, you
must at least set the value of partitionKeys to an empty list. For example:
"PartitionKeys": []
partitionKeys - A list of columns by which the table is partitioned. Only primitive types are supported as partition
keys.
When you create a table used by Amazon Athena, and you do not specify any partitionKeys,
you must at least set the value of partitionKeys to an empty list. For example:
"PartitionKeys": []
TableInput.Builder partitionKeys(Column... partitionKeys)
A list of columns by which the table is partitioned. Only primitive types are supported as partition keys.
When you create a table used by Amazon Athena, and you do not specify any partitionKeys, you
must at least set the value of partitionKeys to an empty list. For example:
"PartitionKeys": []
partitionKeys - A list of columns by which the table is partitioned. Only primitive types are supported as partition
keys.
When you create a table used by Amazon Athena, and you do not specify any partitionKeys,
you must at least set the value of partitionKeys to an empty list. For example:
"PartitionKeys": []
TableInput.Builder partitionKeys(Consumer<Column.Builder>... partitionKeys)
A list of columns by which the table is partitioned. Only primitive types are supported as partition keys.
When you create a table used by Amazon Athena, and you do not specify any partitionKeys, you
must at least set the value of partitionKeys to an empty list. For example:
"PartitionKeys": []
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 #partitionKeys(List.
partitionKeys - a consumer that will call methods on Column.Builder#partitionKeys(java.util.Collection) TableInput.Builder viewOriginalText(String viewOriginalText)
Included for Apache Hive compatibility. Not used in the normal course of Glue operations. If the table is a
VIRTUAL_VIEW, certain Athena configuration encoded in base64.
viewOriginalText - Included for Apache Hive compatibility. Not used in the normal course of Glue operations. If the table
is a VIRTUAL_VIEW, certain Athena configuration encoded in base64.TableInput.Builder viewExpandedText(String viewExpandedText)
Included for Apache Hive compatibility. Not used in the normal course of Glue operations.
viewExpandedText - Included for Apache Hive compatibility. Not used in the normal course of Glue operations.TableInput.Builder tableType(String tableType)
The type of this table. Glue will create tables with the EXTERNAL_TABLE type. Other services,
such as Athena, may create tables with additional table types.
Glue related table types:
Hive compatible attribute - indicates a non-Hive managed table.
Used by Lake Formation. The Glue Data Catalog understands GOVERNED.
tableType - The type of this table. Glue will create tables with the EXTERNAL_TABLE type. Other
services, such as Athena, may create tables with additional table types.
Glue related table types:
Hive compatible attribute - indicates a non-Hive managed table.
Used by Lake Formation. The Glue Data Catalog understands GOVERNED.
TableInput.Builder parameters(Map<String,String> parameters)
These key-value pairs define properties associated with the table.
parameters - These key-value pairs define properties associated with the table.TableInput.Builder targetTable(TableIdentifier targetTable)
A TableIdentifier structure that describes a target table for resource linking.
targetTable - A TableIdentifier structure that describes a target table for resource linking.default TableInput.Builder targetTable(Consumer<TableIdentifier.Builder> targetTable)
A TableIdentifier structure that describes a target table for resource linking.
TableIdentifier.Builder avoiding the
need to create one manually via TableIdentifier.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to targetTable(TableIdentifier).
targetTable - a consumer that will call methods on TableIdentifier.BuildertargetTable(TableIdentifier)Copyright © 2023. All rights reserved.