@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CatalogHudiSource extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a Hudi data source that is registered in the Glue Data Catalog.
Constructor and Description |
---|
CatalogHudiSource() |
Modifier and Type | Method and Description |
---|---|
CatalogHudiSource |
addAdditionalHudiOptionsEntry(String key,
String value)
Add a single AdditionalHudiOptions entry
|
CatalogHudiSource |
clearAdditionalHudiOptionsEntries()
Removes all the entries added into AdditionalHudiOptions.
|
CatalogHudiSource |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getAdditionalHudiOptions()
Specifies additional connection options.
|
String |
getDatabase()
The name of the database to read from.
|
String |
getName()
The name of the Hudi data source.
|
List<GlueSchema> |
getOutputSchemas()
Specifies the data schema for the Hudi 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 |
setAdditionalHudiOptions(Map<String,String> additionalHudiOptions)
Specifies additional connection options.
|
void |
setDatabase(String database)
The name of the database to read from.
|
void |
setName(String name)
The name of the Hudi data source.
|
void |
setOutputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for the Hudi 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.
|
CatalogHudiSource |
withAdditionalHudiOptions(Map<String,String> additionalHudiOptions)
Specifies additional connection options.
|
CatalogHudiSource |
withDatabase(String database)
The name of the database to read from.
|
CatalogHudiSource |
withName(String name)
The name of the Hudi data source.
|
CatalogHudiSource |
withOutputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for the Hudi source.
|
CatalogHudiSource |
withOutputSchemas(GlueSchema... outputSchemas)
Specifies the data schema for the Hudi source.
|
CatalogHudiSource |
withTable(String table)
The name of the table in the database to read from.
|
public void setName(String name)
The name of the Hudi data source.
name
- The name of the Hudi data source.public String getName()
The name of the Hudi data source.
public CatalogHudiSource withName(String name)
The name of the Hudi data source.
name
- The name of the Hudi 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 CatalogHudiSource 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 CatalogHudiSource 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> getAdditionalHudiOptions()
Specifies additional connection options.
public void setAdditionalHudiOptions(Map<String,String> additionalHudiOptions)
Specifies additional connection options.
additionalHudiOptions
- Specifies additional connection options.public CatalogHudiSource withAdditionalHudiOptions(Map<String,String> additionalHudiOptions)
Specifies additional connection options.
additionalHudiOptions
- Specifies additional connection options.public CatalogHudiSource addAdditionalHudiOptionsEntry(String key, String value)
public CatalogHudiSource clearAdditionalHudiOptionsEntries()
public List<GlueSchema> getOutputSchemas()
Specifies the data schema for the Hudi source.
public void setOutputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for the Hudi source.
outputSchemas
- Specifies the data schema for the Hudi source.public CatalogHudiSource withOutputSchemas(GlueSchema... outputSchemas)
Specifies the data schema for the Hudi 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 Hudi source.public CatalogHudiSource withOutputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for the Hudi source.
outputSchemas
- Specifies the data schema for the Hudi source.public String toString()
toString
in class Object
Object.toString()
public CatalogHudiSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.