public class ExamplePointUDT extends org.apache.spark.sql.catalyst.types.UserDefinedType<ExamplePoint>
ExamplePoint
.Constructor and Description |
---|
ExamplePointUDT() |
Modifier and Type | Method and Description |
---|---|
ExamplePoint |
deserialize(Object datum) |
String |
pyUDT() |
scala.collection.Seq<Object> |
serialize(Object obj) |
org.apache.spark.sql.catalyst.types.DataType |
sqlType() |
Class<ExamplePoint> |
userClass() |
public org.apache.spark.sql.catalyst.types.DataType sqlType()
sqlType
in class org.apache.spark.sql.catalyst.types.UserDefinedType<ExamplePoint>
public String pyUDT()
pyUDT
in class org.apache.spark.sql.catalyst.types.UserDefinedType<ExamplePoint>
public scala.collection.Seq<Object> serialize(Object obj)
serialize
in class org.apache.spark.sql.catalyst.types.UserDefinedType<ExamplePoint>
public ExamplePoint deserialize(Object datum)
deserialize
in class org.apache.spark.sql.catalyst.types.UserDefinedType<ExamplePoint>
public Class<ExamplePoint> userClass()
userClass
in class org.apache.spark.sql.catalyst.types.UserDefinedType<ExamplePoint>