Package org.apache.iceberg.types
Class Types.MapType
java.lang.Object
org.apache.iceberg.types.Type.NestedType
org.apache.iceberg.types.Types.MapType
- All Implemented Interfaces:
Serializable
,Type
- Enclosing class:
- Types
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.iceberg.types.Type
Type.NestedType, Type.PrimitiveType, Type.TypeID
-
Method Summary
Modifier and TypeMethodDescriptionboolean
field
(int id) fields()
int
hashCode()
boolean
boolean
boolean
int
keyId()
keyType()
static Types.MapType
ofOptional
(int keyId, int valueId, Type keyType, Type valueType) static Types.MapType
ofRequired
(int keyId, int valueId, Type keyType, Type valueType) toString()
typeId()
int
valueId()
Methods inherited from class org.apache.iceberg.types.Type.NestedType
asNestedType, isNestedType
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.iceberg.types.Type
asListType, asPrimitiveType, asStructType, isListType, isPrimitiveType, isStructType
-
Method Details
-
ofOptional
-
ofRequired
-
keyType
-
valueType
-
fieldType
- Specified by:
fieldType
in classType.NestedType
-
field
- Specified by:
field
in classType.NestedType
-
fields
- Specified by:
fields
in classType.NestedType
-
keyId
public int keyId() -
valueId
public int valueId() -
isValueRequired
public boolean isValueRequired() -
isValueOptional
public boolean isValueOptional() -
typeId
-
isMapType
public boolean isMapType() -
asMapType
-
toString
-
equals
-
hashCode
public int hashCode()
-