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 SummaryNested Classes
- 
Method SummaryModifier 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
- 
ofDeprecated.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
- 
isOptionalpublic boolean isOptional()
- 
asOptional
- 
isRequiredpublic boolean isRequired()
- 
asRequired
- 
withFieldIdDeprecated.will be removed in 2.0.0; useTypes.NestedField.Builder.withId(int)instead
- 
fieldIdpublic int fieldId()
- 
name
- 
type
- 
doc
- 
initialDefaultLiteral
- 
initialDefault
- 
writeDefaultLiteral
- 
writeDefault
- 
toString
- 
equals
- 
hashCodepublic int hashCode()
 
- 
builder()instead.