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 (
EXTERNAL_TABLE, VIRTUAL_VIEW, etc.). |
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)
If the table is a view, the expanded text of the view; otherwise
null. |
TableInput.Builder |
viewOriginalText(String viewOriginalText)
If the table is a view, the original text of the view; otherwise
null. |
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.
owner - The table owner.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 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": []
List.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #partitionKeys(List) .partitionKeys - a consumer that will call methods on List.Builder #partitionKeys(List) TableInput.Builder viewOriginalText(String viewOriginalText)
If the table is a view, the original text of the view; otherwise null.
viewOriginalText - If the table is a view, the original text of the view; otherwise null.TableInput.Builder viewExpandedText(String viewExpandedText)
If the table is a view, the expanded text of the view; otherwise null.
viewExpandedText - If the table is a view, the expanded text of the view; otherwise null.TableInput.Builder tableType(String tableType)
The type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.).
tableType - The type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.).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 © 2021. All rights reserved.