@Generated(value="software.amazon.awssdk:codegen") public final class Table extends Object implements StructuredPojo, 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.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
Name of the table.
|
String |
owner()
Owner of the table.
|
Map<String,String> |
parameters()
Properties associated with this table, as a list of key-value pairs.
|
List<Column> |
partitionKeys()
A list of columns by which the table is partitioned.
|
Integer |
retention()
Retention time for this table.
|
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.
public String databaseName()
Name of the metadata database where the table metadata resides.
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()
Properties associated with this table, as a list of key-value pairs.
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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.