Interface SchemaDefinition.Builder

  • Method Details

    • columns

      Specifies one or more columns that store your data.

      Each schema can have up to 100 columns. Each column can have up to 100 nested types.

      Parameters:
      columns - Specifies one or more columns that store your data.

      Each schema can have up to 100 columns. Each column can have up to 100 nested types.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • columns

      SchemaDefinition.Builder columns(Column... columns)

      Specifies one or more columns that store your data.

      Each schema can have up to 100 columns. Each column can have up to 100 nested types.

      Parameters:
      columns - Specifies one or more columns that store your data.

      Each schema can have up to 100 columns. Each column can have up to 100 nested types.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • columns

      Specifies one or more columns that store your data.

      Each schema can have up to 100 columns. Each column can have up to 100 nested types.

      This is a convenience method that creates an instance of the Column.Builder avoiding the need to create one manually via Column.builder().

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

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