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, DateType, DoubleType, FloatType, IntegerType, LongType, NullType, ShortType, StringType, TimestampType
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
DataType |
getElementType() |
int |
hashCode() |
boolean |
isContainsNull() |
createArrayType, createArrayType, createMapType, createMapType, createStructField, createStructField, createStructType, createStructType
public DataType getElementType()
public boolean isContainsNull()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object