public final class ArrayType extends DataType
Constructor and Description |
---|
ArrayType(DataType elementType,
boolean containsNull) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsNull() |
boolean |
equals(Object o) |
DataType |
getElementType() |
int |
hashCode() |
equivalent, fromJson, getCatalogString, getSimpleString, getTypeName, toJson, toPrettyJson
public ArrayType(DataType elementType, boolean containsNull)
elementType
- the data type of valuescontainsNull
- indicates if values have null
valuepublic DataType getElementType()
public boolean containsNull()
true
if the array has null
values, else false