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 Details

    • 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

      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 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: