public abstract class UserDefinedType<UserType> extends DataType implements java.io.Serializable
BinaryType, BooleanType, ByteType, DateType, DoubleType, FloatType, IntegerType, LongType, NullType, ShortType, StringType, TimestampType
Modifier and Type | Method and Description |
---|---|
abstract UserType |
deserialize(Object datum)
Convert a SQL datum to the user type
|
boolean |
equals(Object o) |
abstract Object |
serialize(Object obj)
Convert the user type to a SQL datum
|
abstract DataType |
sqlType()
Underlying storage type for this UDT
|
abstract Class<UserType> |
userClass()
Class object for the UserType
|
createArrayType, createArrayType, createMapType, createMapType, createStructField, createStructField, createStructType, createStructType
public boolean equals(Object o)
equals
in class Object
public abstract DataType sqlType()
public abstract Object serialize(Object obj)
public abstract UserType deserialize(Object datum)
public abstract Class<UserType> userClass()