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 Details

    • 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

      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 the GlueSchema.Builder avoiding the need to create one manually via GlueSchema.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to outputSchemas(List<GlueSchema>).

      Parameters:
      outputSchemas - a consumer that will call methods on GlueSchema.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: