@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CatalogDeltaSource extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a Delta Lake data source that is registered in the Glue Data Catalog.
Constructor and Description |
---|
CatalogDeltaSource() |
Modifier and Type | Method and Description |
---|---|
CatalogDeltaSource |
addAdditionalDeltaOptionsEntry(String key,
String value)
Add a single AdditionalDeltaOptions entry
|
CatalogDeltaSource |
clearAdditionalDeltaOptionsEntries()
Removes all the entries added into AdditionalDeltaOptions.
|
CatalogDeltaSource |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getAdditionalDeltaOptions()
Specifies additional connection options.
|
String |
getDatabase()
The name of the database to read from.
|
String |
getName()
The name of the Delta Lake data source.
|
List<GlueSchema> |
getOutputSchemas()
Specifies the data schema for the Delta Lake source.
|
String |
getTable()
The name of the table in the database to read from.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdditionalDeltaOptions(Map<String,String> additionalDeltaOptions)
Specifies additional connection options.
|
void |
setDatabase(String database)
The name of the database to read from.
|
void |
setName(String name)
The name of the Delta Lake data source.
|
void |
setOutputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for the Delta Lake source.
|
void |
setTable(String table)
The name of the table in the database to read from.
|
String |
toString()
Returns a string representation of this object.
|
CatalogDeltaSource |
withAdditionalDeltaOptions(Map<String,String> additionalDeltaOptions)
Specifies additional connection options.
|
CatalogDeltaSource |
withDatabase(String database)
The name of the database to read from.
|
CatalogDeltaSource |
withName(String name)
The name of the Delta Lake data source.
|
CatalogDeltaSource |
withOutputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for the Delta Lake source.
|
CatalogDeltaSource |
withOutputSchemas(GlueSchema... outputSchemas)
Specifies the data schema for the Delta Lake source.
|
CatalogDeltaSource |
withTable(String table)
The name of the table in the database to read from.
|
public void setName(String name)
The name of the Delta Lake data source.
name
- The name of the Delta Lake data source.public String getName()
The name of the Delta Lake data source.
public CatalogDeltaSource withName(String name)
The name of the Delta Lake data source.
name
- The name of the Delta Lake data source.public void setDatabase(String database)
The name of the database to read from.
database
- The name of the database to read from.public String getDatabase()
The name of the database to read from.
public CatalogDeltaSource withDatabase(String database)
The name of the database to read from.
database
- The name of the database to read from.public void setTable(String table)
The name of the table in the database to read from.
table
- The name of the table in the database to read from.public String getTable()
The name of the table in the database to read from.
public CatalogDeltaSource withTable(String table)
The name of the table in the database to read from.
table
- The name of the table in the database to read from.public Map<String,String> getAdditionalDeltaOptions()
Specifies additional connection options.
public void setAdditionalDeltaOptions(Map<String,String> additionalDeltaOptions)
Specifies additional connection options.
additionalDeltaOptions
- Specifies additional connection options.public CatalogDeltaSource withAdditionalDeltaOptions(Map<String,String> additionalDeltaOptions)
Specifies additional connection options.
additionalDeltaOptions
- Specifies additional connection options.public CatalogDeltaSource addAdditionalDeltaOptionsEntry(String key, String value)
public CatalogDeltaSource clearAdditionalDeltaOptionsEntries()
public List<GlueSchema> getOutputSchemas()
Specifies the data schema for the Delta Lake source.
public void setOutputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for the Delta Lake source.
outputSchemas
- Specifies the data schema for the Delta Lake source.public CatalogDeltaSource withOutputSchemas(GlueSchema... outputSchemas)
Specifies the data schema for the Delta Lake source.
NOTE: This method appends the values to the existing list (if any). Use
setOutputSchemas(java.util.Collection)
or withOutputSchemas(java.util.Collection)
if you want
to override the existing values.
outputSchemas
- Specifies the data schema for the Delta Lake source.public CatalogDeltaSource withOutputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for the Delta Lake source.
outputSchemas
- Specifies the data schema for the Delta Lake source.public String toString()
toString
in class Object
Object.toString()
public CatalogDeltaSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.