Package org.apache.iceberg.types
Class Types.NestedField
java.lang.Object
org.apache.iceberg.types.Types.NestedField
- All Implemented Interfaces:
Serializable
- Enclosing class:
Types
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Types.NestedField.Builderbuilder()doc()booleanintfieldId()static Types.NestedField.Builderfrom(Types.NestedField field) inthashCode()Literal<?> booleanbooleanname()static Types.NestedFieldDeprecated.static Types.NestedFieldDeprecated.will be removed in 2.0.0; usebuilder()instead.static Types.NestedFieldstatic Types.NestedFieldstatic Types.NestedField.Builderstatic Types.NestedFieldstatic Types.NestedFieldstatic Types.NestedField.BuildertoString()type()withFieldId(int newId) Deprecated.will be removed in 2.0.0; useTypes.NestedField.Builder.withId(int)insteadLiteral<?>
-
Method Details
-
optional
-
optional
-
required
-
required
-
of
Deprecated.will be removed in 2.0.0; usebuilder()instead.Create a nested field. -
of
@Deprecated public static Types.NestedField of(int id, boolean isOptional, String name, Type type, String doc) Deprecated.will be removed in 2.0.0; usebuilder()instead.Create a nested field. -
from
-
required
-
optional
-
builder
-
isOptional
public boolean isOptional() -
asOptional
-
isRequired
public boolean isRequired() -
asRequired
-
withFieldId
Deprecated.will be removed in 2.0.0; useTypes.NestedField.Builder.withId(int)instead -
fieldId
public int fieldId() -
name
-
type
-
doc
-
initialDefaultLiteral
-
initialDefault
-
writeDefaultLiteral
-
writeDefault
-
toString
-
equals
-
hashCode
public int hashCode()
-
builder()instead.