public class ArrayType extends DataType
DataType elementType and
boolean containsNull. The field of elementType is used to specify the type of
array elements. The field of containsNull is used to specify if the array has
null values.
To create an ArrayType,
DataType.createArrayType(DataType) or
DataType.createArrayType(DataType, boolean)
should be used.BinaryType, BooleanType, ByteType, DecimalType, DoubleType, FloatType, IntegerType, LongType, ShortType, StringType, TimestampType| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
DataType |
getElementType() |
int |
hashCode() |
boolean |
isContainsNull() |
createArrayType, createArrayType, createMapType, createMapType, createStructField, createStructType, createStructTypepublic DataType getElementType()
public boolean isContainsNull()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object