Interface SchemaDefinition.Builder

    • Method Detail

      • columns

        SchemaDefinition.Builder columns​(Collection<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

        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

        SchemaDefinition.Builder columns​(Consumer<Column.Builder>... 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).

        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:
        #columns(java.util.Collection)