Interface IcebergStructField.Builder

    • Method Detail

      • id

        IcebergStructField.Builder id​(Integer id)

        The unique identifier assigned to this field within the Iceberg table schema, used for schema evolution and field tracking.

        Parameters:
        id - The unique identifier assigned to this field within the Iceberg table schema, used for schema evolution and field tracking.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        IcebergStructField.Builder name​(String name)

        The name of the field as it appears in the table schema and query operations.

        Parameters:
        name - The name of the field as it appears in the table schema and query operations.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        IcebergStructField.Builder type​(Document type)

        The data type definition for this field, specifying the structure and format of the data it contains.

        Parameters:
        type - The data type definition for this field, specifying the structure and format of the data it contains.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • required

        IcebergStructField.Builder required​(Boolean required)

        Indicates whether this field is required (non-nullable) or optional (nullable) in the table schema.

        Parameters:
        required - Indicates whether this field is required (non-nullable) or optional (nullable) in the table schema.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • doc

        IcebergStructField.Builder doc​(String doc)

        Optional documentation or description text that provides additional context about the purpose and usage of this field.

        Parameters:
        doc - Optional documentation or description text that provides additional context about the purpose and usage of this field.
        Returns:
        Returns a reference to this object so that method calls can be chained together.