public class ArrayType extends DataType implements scala.Product, scala.Serializable
Modifier | Constructor and Description |
---|---|
protected |
ArrayType()
No-arg constructor for kryo.
|
|
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(java.lang.Object that) |
static java.lang.String |
catalogString() |
boolean |
containsNull() |
int |
defaultSize()
The default size of a value of the ArrayType is 100 * the default size of the element type.
|
DataType |
elementType() |
abstract static boolean |
equals(java.lang.Object that) |
static java.lang.String |
json() |
static java.lang.String |
prettyJson() |
abstract static int |
productArity() |
abstract static java.lang.Object |
productElement(int n) |
static scala.collection.Iterator<java.lang.Object> |
productIterator() |
static java.lang.String |
productPrefix() |
java.lang.String |
simpleString()
Readable string representation for the type.
|
java.lang.String |
sql() |
static java.lang.String |
typeName() |
buildFormattedString, catalogString, fromJson, json, prettyJson, typeName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ArrayType(DataType elementType, boolean containsNull)
protected ArrayType()
public static ArrayType apply(DataType elementType)
ArrayType
object with the given element type. The `containsNull` is true.public static java.lang.String typeName()
public static java.lang.String json()
public static java.lang.String prettyJson()
public static java.lang.String catalogString()
public abstract static boolean canEqual(java.lang.Object that)
public abstract static boolean equals(java.lang.Object that)
public abstract static java.lang.Object productElement(int n)
public abstract static int productArity()
public static scala.collection.Iterator<java.lang.Object> productIterator()
public static java.lang.String productPrefix()
public DataType elementType()
public boolean containsNull()
public int defaultSize()
defaultSize
in class DataType
public java.lang.String simpleString()
DataType
simpleString
in class DataType