public class ObjectType extends DataType implements scala.Product, scala.Serializable
Constructor and Description |
---|
ObjectType(Class<?> cls) |
Modifier and Type | Method and Description |
---|---|
DataType |
asNullable()
Returns the same data type but set all nullability fields are true
(
StructField.nullable , ArrayType.containsNull , and MapType.valueContainsNull ). |
abstract static boolean |
canEqual(Object that) |
static String |
catalogString() |
Class<?> |
cls() |
int |
defaultSize()
The default size of a value of this data type, used internally for size estimation.
|
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.
|
static String |
sql() |
static String |
typeName() |
catalogString, fromJson, json, prettyJson, sql, typeName
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static String typeName()
public static String json()
public static String prettyJson()
public static String catalogString()
public static String sql()
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 Class<?> cls()
public int defaultSize()
DataType
defaultSize
in class DataType
public DataType asNullable()
DataType
StructField.nullable
, ArrayType.containsNull
, and MapType.valueContainsNull
).public String simpleString()
DataType
simpleString
in class DataType