@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GlueTable extends Object implements Serializable, Cloneable, StructuredPojo
The database and table in the Glue Data Catalog that is used for input or output data.
Constructor and Description |
---|
GlueTable() |
Modifier and Type | Method and Description |
---|---|
GlueTable |
addAdditionalOptionsEntry(String key,
String value)
Add a single AdditionalOptions entry
|
GlueTable |
clearAdditionalOptionsEntries()
Removes all the entries added into AdditionalOptions.
|
GlueTable |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getAdditionalOptions()
Additional options for the table.
|
String |
getCatalogId()
A unique identifier for the Glue Data Catalog.
|
String |
getConnectionName()
The name of the connection to the Glue Data Catalog.
|
String |
getDatabaseName()
A database name in the Glue Data Catalog.
|
String |
getTableName()
A table name in the Glue Data Catalog.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdditionalOptions(Map<String,String> additionalOptions)
Additional options for the table.
|
void |
setCatalogId(String catalogId)
A unique identifier for the Glue Data Catalog.
|
void |
setConnectionName(String connectionName)
The name of the connection to the Glue Data Catalog.
|
void |
setDatabaseName(String databaseName)
A database name in the Glue Data Catalog.
|
void |
setTableName(String tableName)
A table name in the Glue Data Catalog.
|
String |
toString()
Returns a string representation of this object.
|
GlueTable |
withAdditionalOptions(Map<String,String> additionalOptions)
Additional options for the table.
|
GlueTable |
withCatalogId(String catalogId)
A unique identifier for the Glue Data Catalog.
|
GlueTable |
withConnectionName(String connectionName)
The name of the connection to the Glue Data Catalog.
|
GlueTable |
withDatabaseName(String databaseName)
A database name in the Glue Data Catalog.
|
GlueTable |
withTableName(String tableName)
A table name in the Glue Data Catalog.
|
public void setDatabaseName(String databaseName)
A database name in the Glue Data Catalog.
databaseName
- A database name in the Glue Data Catalog.public String getDatabaseName()
A database name in the Glue Data Catalog.
public GlueTable withDatabaseName(String databaseName)
A database name in the Glue Data Catalog.
databaseName
- A database name in the Glue Data Catalog.public void setTableName(String tableName)
A table name in the Glue Data Catalog.
tableName
- A table name in the Glue Data Catalog.public String getTableName()
A table name in the Glue Data Catalog.
public GlueTable withTableName(String tableName)
A table name in the Glue Data Catalog.
tableName
- A table name in the Glue Data Catalog.public void setCatalogId(String catalogId)
A unique identifier for the Glue Data Catalog.
catalogId
- A unique identifier for the Glue Data Catalog.public String getCatalogId()
A unique identifier for the Glue Data Catalog.
public GlueTable withCatalogId(String catalogId)
A unique identifier for the Glue Data Catalog.
catalogId
- A unique identifier for the Glue Data Catalog.public void setConnectionName(String connectionName)
The name of the connection to the Glue Data Catalog.
connectionName
- The name of the connection to the Glue Data Catalog.public String getConnectionName()
The name of the connection to the Glue Data Catalog.
public GlueTable withConnectionName(String connectionName)
The name of the connection to the Glue Data Catalog.
connectionName
- The name of the connection to the Glue Data Catalog.public Map<String,String> getAdditionalOptions()
Additional options for the table. Currently there are two keys supported:
pushDownPredicate
: to filter on partitions without having to list and read all the files in your
dataset.
catalogPartitionPredicate
: to use server-side partition pruning using partition indexes in the Glue
Data Catalog.
pushDownPredicate
: to filter on partitions without having to list and read all the files in
your dataset.
catalogPartitionPredicate
: to use server-side partition pruning using partition indexes in
the Glue Data Catalog.
public void setAdditionalOptions(Map<String,String> additionalOptions)
Additional options for the table. Currently there are two keys supported:
pushDownPredicate
: to filter on partitions without having to list and read all the files in your
dataset.
catalogPartitionPredicate
: to use server-side partition pruning using partition indexes in the Glue
Data Catalog.
additionalOptions
- Additional options for the table. Currently there are two keys supported:
pushDownPredicate
: to filter on partitions without having to list and read all the files in
your dataset.
catalogPartitionPredicate
: to use server-side partition pruning using partition indexes in
the Glue Data Catalog.
public GlueTable withAdditionalOptions(Map<String,String> additionalOptions)
Additional options for the table. Currently there are two keys supported:
pushDownPredicate
: to filter on partitions without having to list and read all the files in your
dataset.
catalogPartitionPredicate
: to use server-side partition pruning using partition indexes in the Glue
Data Catalog.
additionalOptions
- Additional options for the table. Currently there are two keys supported:
pushDownPredicate
: to filter on partitions without having to list and read all the files in
your dataset.
catalogPartitionPredicate
: to use server-side partition pruning using partition indexes in
the Glue Data Catalog.
public GlueTable addAdditionalOptionsEntry(String key, String value)
public GlueTable clearAdditionalOptionsEntries()
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.