Interface SchemaV2Field.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SchemaV2Field.Builder,,SchemaV2Field> SdkBuilder<SchemaV2Field.Builder,,SchemaV2Field> SdkPojo
- Enclosing class:
SchemaV2Field
@Mutable
@NotThreadSafe
public static interface SchemaV2Field.Builder
extends SdkPojo, CopyableBuilder<SchemaV2Field.Builder,SchemaV2Field>
-
Method Summary
Modifier and TypeMethodDescriptionAn optional description of the field.The unique identifier for the schema field.The name of the field.A Boolean value that specifies whether values are required for each row in this field.The data type of the field.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
id
The unique identifier for the schema field. Field IDs are used by Apache Iceberg to track schema evolution and maintain compatibility across schema changes.
- Parameters:
id- The unique identifier for the schema field. Field IDs are used by Apache Iceberg to track schema evolution and maintain compatibility across schema changes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the field.
- Parameters:
name- The name of the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The data type of the field. This can be a primitive type string such as
boolean,int,long,float,double,string,binary,date,timestamp, ortimestamptz, or a complex type represented as a JSON object for nested types such asstruct,list, ormap. For more information, see the Apache Iceberg schemas and data types documentation.- Parameters:
type- The data type of the field. This can be a primitive type string such asboolean,int,long,float,double,string,binary,date,timestamp, ortimestamptz, or a complex type represented as a JSON object for nested types such asstruct,list, ormap. For more information, see the Apache Iceberg schemas and data types documentation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
required
A Boolean value that specifies whether values are required for each row in this field. If this is
true, the field does not allow null values.- Parameters:
required- A Boolean value that specifies whether values are required for each row in this field. If this istrue, the field does not allow null values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
doc
An optional description of the field.
- Parameters:
doc- An optional description of the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-