public static class Types.ListType extends Type.NestedType
Type.NestedType, Type.PrimitiveType, Type.TypeID
Modifier and Type | Method and Description |
---|---|
Types.ListType |
asListType() |
int |
elementId() |
Type |
elementType() |
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 |
isElementOptional() |
boolean |
isElementRequired() |
boolean |
isListType() |
static Types.ListType |
ofOptional(int elementId,
Type elementType) |
static Types.ListType |
ofRequired(int elementId,
Type elementType) |
java.lang.String |
toString() |
Type.TypeID |
typeId() |
asNestedType, isNestedType
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
asMapType, asPrimitiveType, asStructType, isMapType, isPrimitiveType, isStructType
public static Types.ListType ofOptional(int elementId, Type elementType)
public static Types.ListType ofRequired(int elementId, Type elementType)
public Type elementType()
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 elementId()
public boolean isElementRequired()
public boolean isElementOptional()
public Type.TypeID typeId()
public boolean isListType()
public Types.ListType asListType()
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