@Generated(value="software.amazon.awssdk:codegen") public final class Table extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Table.Builder,Table>
Represents a collection of related data organized in columns and rows.
Modifier and Type | Class and Description |
---|---|
static interface |
Table.Builder |
Modifier and Type | Method and Description |
---|---|
static Table.Builder |
builder() |
String |
createdBy()
Person or entity who created the table.
|
Instant |
createTime()
Time when the table definition was created in the Data Catalog.
|
String |
databaseName()
Name of the metadata database where the table metadata resides.
|
String |
description()
Description of the table.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastAccessTime()
Last time the table was accessed.
|
Instant |
lastAnalyzedTime()
Last time column statistics were computed for this table.
|
String |
name()
Name of the table.
|
String |
owner()
Owner of the table.
|
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()
Retention time for this table.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Table.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.). |
Table.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Instant |
updateTime()
Last time the table was updated.
|
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 . |
copy
public String name()
Name of the table. For Hive compatibility, this must be entirely lowercase.
public String databaseName()
Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
public String description()
Description of the table.
public String owner()
Owner of the table.
public Instant createTime()
Time when the table definition was created in the Data Catalog.
public Instant updateTime()
Last time the table was updated.
public Instant lastAccessTime()
Last time the table was accessed. This is usually taken from HDFS, and may not be reliable.
public Instant lastAnalyzedTime()
Last time column statistics were computed for this table.
public Integer retention()
Retention time for this table.
public StorageDescriptor storageDescriptor()
A storage descriptor containing information about the physical storage of this table.
public List<Column> partitionKeys()
A list of columns by which the table is partitioned. Only primitive types are supported as partition keys.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
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 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.
public String createdBy()
Person or entity who created the table.
public Table.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Table.Builder,Table>
public static Table.Builder builder()
public static Class<? extends Table.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.