public static interface TableMetadata.Builder extends SdkPojo, CopyableBuilder<TableMetadata.Builder,TableMetadata>
| Modifier and Type | Method and Description |
|---|---|
TableMetadata.Builder |
columns(Collection<Column> columns)
A list of the columns in the table.
|
TableMetadata.Builder |
columns(Column... columns)
A list of the columns in the table.
|
TableMetadata.Builder |
columns(Consumer<Column.Builder>... columns)
A list of the columns in the table.
|
TableMetadata.Builder |
createTime(Instant createTime)
The time that the table was created.
|
TableMetadata.Builder |
lastAccessTime(Instant lastAccessTime)
The last time the table was accessed.
|
TableMetadata.Builder |
name(String name)
The name of the table.
|
TableMetadata.Builder |
parameters(Map<String,String> parameters)
A set of custom key/value pairs for table properties.
|
TableMetadata.Builder |
partitionKeys(Collection<Column> partitionKeys)
A list of the partition keys in the table.
|
TableMetadata.Builder |
partitionKeys(Column... partitionKeys)
A list of the partition keys in the table.
|
TableMetadata.Builder |
partitionKeys(Consumer<Column.Builder>... partitionKeys)
A list of the partition keys in the table.
|
TableMetadata.Builder |
tableType(String tableType)
The type of table.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTableMetadata.Builder name(String name)
The name of the table.
name - The name of the table.TableMetadata.Builder createTime(Instant createTime)
The time that the table was created.
createTime - The time that the table was created.TableMetadata.Builder lastAccessTime(Instant lastAccessTime)
The last time the table was accessed.
lastAccessTime - The last time the table was accessed.TableMetadata.Builder tableType(String tableType)
The type of table. In Athena, only EXTERNAL_TABLE is supported.
tableType - The type of table. In Athena, only EXTERNAL_TABLE is supported.TableMetadata.Builder columns(Collection<Column> columns)
A list of the columns in the table.
columns - A list of the columns in the table.TableMetadata.Builder columns(Column... columns)
A list of the columns in the table.
columns - A list of the columns in the table.TableMetadata.Builder columns(Consumer<Column.Builder>... columns)
A list of the columns in the table.
This is a convenience method that creates an instance of theColumn.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) TableMetadata.Builder partitionKeys(Collection<Column> partitionKeys)
A list of the partition keys in the table.
partitionKeys - A list of the partition keys in the table.TableMetadata.Builder partitionKeys(Column... partitionKeys)
A list of the partition keys in the table.
partitionKeys - A list of the partition keys in the table.TableMetadata.Builder partitionKeys(Consumer<Column.Builder>... partitionKeys)
A list of the partition keys in the table.
This is a convenience method that creates an instance of theColumn.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) TableMetadata.Builder parameters(Map<String,String> parameters)
A set of custom key/value pairs for table properties.
parameters - A set of custom key/value pairs for table properties.Copyright © 2023. All rights reserved.