Interface CatalogHudiSource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CatalogHudiSource.Builder,CatalogHudiSource>,SdkBuilder<CatalogHudiSource.Builder,CatalogHudiSource>,SdkPojo
- Enclosing class:
- CatalogHudiSource
public static interface CatalogHudiSource.Builder extends SdkPojo, CopyableBuilder<CatalogHudiSource.Builder,CatalogHudiSource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CatalogHudiSource.BuilderadditionalHudiOptions(Map<String,String> additionalHudiOptions)Specifies additional connection options.CatalogHudiSource.Builderdatabase(String database)The name of the database to read from.CatalogHudiSource.Buildername(String name)The name of the Hudi data source.CatalogHudiSource.BuilderoutputSchemas(Collection<GlueSchema> outputSchemas)Specifies the data schema for the Hudi source.CatalogHudiSource.BuilderoutputSchemas(Consumer<GlueSchema.Builder>... outputSchemas)Specifies the data schema for the Hudi source.CatalogHudiSource.BuilderoutputSchemas(GlueSchema... outputSchemas)Specifies the data schema for the Hudi source.CatalogHudiSource.Buildertable(String table)The name of the table in the database to read from.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
name
CatalogHudiSource.Builder name(String name)
The name of the Hudi data source.
- Parameters:
name- The name of the Hudi data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
database
CatalogHudiSource.Builder database(String database)
The name of the database to read from.
- Parameters:
database- The name of the database to read from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
table
CatalogHudiSource.Builder table(String table)
The name of the table in the database to read from.
- Parameters:
table- The name of the table in the database to read from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalHudiOptions
CatalogHudiSource.Builder additionalHudiOptions(Map<String,String> additionalHudiOptions)
Specifies additional connection options.
- Parameters:
additionalHudiOptions- Specifies additional connection options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
CatalogHudiSource.Builder outputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for the Hudi source.
- Parameters:
outputSchemas- Specifies the data schema for the Hudi source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
CatalogHudiSource.Builder outputSchemas(GlueSchema... outputSchemas)
Specifies the data schema for the Hudi source.
- Parameters:
outputSchemas- Specifies the data schema for the Hudi source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
CatalogHudiSource.Builder outputSchemas(Consumer<GlueSchema.Builder>... outputSchemas)
Specifies the data schema for the Hudi source.
This is a convenience method that creates an instance of theGlueSchema.Builderavoiding the need to create one manually viaGlueSchema.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#outputSchemas(List.) - Parameters:
outputSchemas- a consumer that will call methods onGlueSchema.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#outputSchemas(java.util.Collection)
-
-