Package org.apache.iceberg.types
Class Type.NestedType
- java.lang.Object
-
- org.apache.iceberg.types.Type.NestedType
-
- All Implemented Interfaces:
java.io.Serializable
,Type
- Direct Known Subclasses:
Types.ListType
,Types.MapType
,Types.StructType
- Enclosing interface:
- Type
public abstract static class Type.NestedType extends java.lang.Object implements Type
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.iceberg.types.Type
Type.NestedType, Type.PrimitiveType, Type.TypeID
-
-
Constructor Summary
Constructors Constructor Description NestedType()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Type.NestedType
asNestedType()
abstract Types.NestedField
field(int id)
abstract java.util.List<Types.NestedField>
fields()
abstract Type
fieldType(java.lang.String name)
boolean
isNestedType()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.iceberg.types.Type
asListType, asMapType, asPrimitiveType, asStructType, isListType, isMapType, isPrimitiveType, isStructType, typeId
-
-
-
-
Method Detail
-
isNestedType
public boolean isNestedType()
- Specified by:
isNestedType
in interfaceType
-
asNestedType
public Type.NestedType asNestedType()
- Specified by:
asNestedType
in interfaceType
-
fields
public abstract java.util.List<Types.NestedField> fields()
-
fieldType
public abstract Type fieldType(java.lang.String name)
-
field
public abstract Types.NestedField field(int id)
-
-