Interface CatalogIcebergSource.Builder

  • Method Details

    • name

      The name of the Iceberg data source.

      Parameters:
      name - The name of the Iceberg data source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.
    • additionalIcebergOptions

      CatalogIcebergSource.Builder additionalIcebergOptions(Map<String,String> additionalIcebergOptions)

      Specifies additional connection options for the Iceberg data source.

      Parameters:
      additionalIcebergOptions - Specifies additional connection options for the Iceberg data source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputSchemas

      CatalogIcebergSource.Builder outputSchemas(Collection<GlueSchema> outputSchemas)

      Specifies the data schema for the Iceberg source.

      Parameters:
      outputSchemas - Specifies the data schema for the Iceberg source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputSchemas

      CatalogIcebergSource.Builder outputSchemas(GlueSchema... outputSchemas)

      Specifies the data schema for the Iceberg source.

      Parameters:
      outputSchemas - Specifies the data schema for the Iceberg source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputSchemas

      CatalogIcebergSource.Builder outputSchemas(Consumer<GlueSchema.Builder>... outputSchemas)

      Specifies the data schema for the Iceberg 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: