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, isNestedTypeclone, finalize, getClass, notify, notifyAll, wait, wait, waitasMapType, asPrimitiveType, asStructType, isMapType, isPrimitiveType, isStructTypepublic 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.NestedTypepublic Types.NestedField field(int id)
field in class Type.NestedTypepublic java.util.List<Types.NestedField> fields()
fields in class Type.NestedTypepublic 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.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object