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.Builder
builder()
doc()
boolean
int
fieldId()
static Types.NestedField.Builder
from
(Types.NestedField field) int
hashCode()
Literal<?>
boolean
boolean
name()
static Types.NestedField
Deprecated.static Types.NestedField
Deprecated.will be removed in 2.0.0; usebuilder()
instead.static Types.NestedField
static Types.NestedField
static Types.NestedField.Builder
static Types.NestedField
static Types.NestedField
static Types.NestedField.Builder
toString()
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.