Interface CatalogDeltaSource.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<CatalogDeltaSource.Builder,CatalogDeltaSource>
,SdkBuilder<CatalogDeltaSource.Builder,CatalogDeltaSource>
,SdkPojo
- Enclosing class:
- CatalogDeltaSource
public static interface CatalogDeltaSource.Builder extends SdkPojo, CopyableBuilder<CatalogDeltaSource.Builder,CatalogDeltaSource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CatalogDeltaSource.Builder
additionalDeltaOptions(Map<String,String> additionalDeltaOptions)
Specifies additional connection options.CatalogDeltaSource.Builder
database(String database)
The name of the database to read from.CatalogDeltaSource.Builder
name(String name)
The name of the Delta Lake data source.CatalogDeltaSource.Builder
outputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for the Delta Lake source.CatalogDeltaSource.Builder
outputSchemas(Consumer<GlueSchema.Builder>... outputSchemas)
Specifies the data schema for the Delta Lake source.CatalogDeltaSource.Builder
outputSchemas(GlueSchema... outputSchemas)
Specifies the data schema for the Delta Lake source.CatalogDeltaSource.Builder
table(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
CatalogDeltaSource.Builder name(String name)
The name of the Delta Lake data source.
- Parameters:
name
- The name of the Delta Lake data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
database
CatalogDeltaSource.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
CatalogDeltaSource.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.
-
additionalDeltaOptions
CatalogDeltaSource.Builder additionalDeltaOptions(Map<String,String> additionalDeltaOptions)
Specifies additional connection options.
- Parameters:
additionalDeltaOptions
- Specifies additional connection options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
CatalogDeltaSource.Builder outputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for the Delta Lake source.
- Parameters:
outputSchemas
- Specifies the data schema for the Delta Lake source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
CatalogDeltaSource.Builder outputSchemas(GlueSchema... outputSchemas)
Specifies the data schema for the Delta Lake source.
- Parameters:
outputSchemas
- Specifies the data schema for the Delta Lake source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
CatalogDeltaSource.Builder outputSchemas(Consumer<GlueSchema.Builder>... outputSchemas)
Specifies the data schema for the Delta Lake source.
This is a convenience method that creates an instance of theGlueSchema.Builder
avoiding the need to create one manually viaGlueSchema.builder()
.When the
Consumer
completes,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
)
-
-