public static class Types.MapType extends Type.NestedType
Type.NestedType, Type.PrimitiveType, Type.TypeID
Modifier and Type | Method and Description |
---|---|
Types.MapType |
asMapType() |
boolean |
equals(java.lang.Object o) |
Types.NestedField |
field(int id) |
java.util.List<Types.NestedField> |
fields() |
Type |
fieldType(java.lang.String name) |
int |
hashCode() |
boolean |
isMapType() |
boolean |
isValueOptional() |
boolean |
isValueRequired() |
int |
keyId() |
Type |
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) |
java.lang.String |
toString() |
Type.TypeID |
typeId() |
int |
valueId() |
Type |
valueType() |
asNestedType, isNestedType
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
asListType, asPrimitiveType, asStructType, isListType, isPrimitiveType, isStructType
public static Types.MapType ofOptional(int keyId, int valueId, Type keyType, Type valueType)
public static Types.MapType ofRequired(int keyId, int valueId, Type keyType, Type valueType)
public Type keyType()
public Type valueType()
public Type fieldType(java.lang.String name)
fieldType
in class Type.NestedType
public Types.NestedField field(int id)
field
in class Type.NestedType
public java.util.List<Types.NestedField> fields()
fields
in class Type.NestedType
public int keyId()
public int valueId()
public boolean isValueRequired()
public boolean isValueOptional()
public Type.TypeID typeId()
public boolean isMapType()
public Types.MapType asMapType()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object