public class ArrayType extends DataType implements scala.Product, scala.Serializable
| Constructor and Description |
|---|
ArrayType(DataType elementType,
boolean containsNull) |
| Modifier and Type | Method and Description |
|---|---|
static ArrayType |
apply(DataType elementType)
Construct a
ArrayType object with the given element type. |
abstract static boolean |
canEqual(Object that) |
String |
catalogString()
String representation for the type saved in external catalogs.
|
boolean |
containsNull() |
int |
defaultSize()
The default size of a value of the ArrayType is the default size of the element type.
|
DataType |
elementType() |
abstract static boolean |
equals(Object that) |
static String |
json() |
static String |
prettyJson() |
abstract static int |
productArity() |
abstract static Object |
productElement(int n) |
static scala.collection.Iterator<Object> |
productIterator() |
static String |
productPrefix() |
String |
simpleString()
Readable string representation for the type.
|
String |
sql() |
static String |
typeName() |
equalsStructurally, fromJson, json, prettyJson, typeNameequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic ArrayType(DataType elementType, boolean containsNull)
public static ArrayType apply(DataType elementType)
ArrayType object with the given element type. The containsNull is true.elementType - (undocumented)public static String typeName()
public static String json()
public static String prettyJson()
public abstract static boolean canEqual(Object that)
public abstract static boolean equals(Object that)
public abstract static Object productElement(int n)
public abstract static int productArity()
public static scala.collection.Iterator<Object> productIterator()
public static String productPrefix()
public DataType elementType()
public boolean containsNull()
public int defaultSize()
defaultSize in class DataTypepublic String simpleString()
DataTypesimpleString in class DataTypepublic String catalogString()
DataTypecatalogString in class DataType