@Generated(value="software.amazon.awssdk:codegen") public final class TableInput extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TableInput.Builder,TableInput>
A structure used to define a table.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TableInput.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TableInput.Builder |
builder() |
String |
description()
A description of the table.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasParameters()
Returns true if the Parameters property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasPartitionKeys()
Returns true if the PartitionKeys property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
Instant |
lastAccessTime()
The last time that the table was accessed.
|
Instant |
lastAnalyzedTime()
The last time that column statistics were computed for this table.
|
String |
name()
The table name.
|
String |
owner()
The table owner.
|
Map<String,String> |
parameters()
These key-value pairs define properties associated with the table.
|
List<Column> |
partitionKeys()
A list of columns by which the table is partitioned.
|
Integer |
retention()
The retention time for this table.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TableInput.Builder> |
serializableBuilderClass() |
StorageDescriptor |
storageDescriptor()
A storage descriptor containing information about the physical storage of this table.
|
String |
tableType()
The type of this table (
EXTERNAL_TABLE, VIRTUAL_VIEW, etc.). |
TableIdentifier |
targetTable()
A
TableIdentifier structure that describes a target table for resource linking. |
TableInput.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
viewExpandedText()
If the table is a view, the expanded text of the view; otherwise
null. |
String |
viewOriginalText()
If the table is a view, the original text of the view; otherwise
null. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String name()
The table name. For Hive compatibility, this is folded to lowercase when it is stored.
public String description()
A description of the table.
public String owner()
The table owner.
public Instant lastAccessTime()
The last time that the table was accessed.
public Instant lastAnalyzedTime()
The last time that column statistics were computed for this table.
public Integer retention()
The retention time for this table.
public StorageDescriptor storageDescriptor()
A storage descriptor containing information about the physical storage of this table.
public boolean hasPartitionKeys()
public List<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": []
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasPartitionKeys() to see if a value was sent in this field.
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": []
public String viewOriginalText()
If the table is a view, the original text of the view; otherwise null.
null.public String viewExpandedText()
If the table is a view, the expanded text of the view; otherwise null.
null.public String tableType()
The type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.).
EXTERNAL_TABLE, VIRTUAL_VIEW, etc.).public boolean hasParameters()
public Map<String,String> parameters()
These key-value pairs define properties associated with the table.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasParameters() to see if a value was sent in this field.
public TableIdentifier targetTable()
A TableIdentifier structure that describes a target table for resource linking.
TableIdentifier structure that describes a target table for resource linking.public TableInput.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TableInput.Builder,TableInput>public static TableInput.Builder builder()
public static Class<? extends TableInput.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.