public class DataTypeConversions
extends Object
Constructor and Description |
---|
DataTypeConversions() |
Modifier and Type | Method and Description |
---|---|
static Object |
convertJavaToCatalyst(Object a,
DataType dataType)
Converts Java objects to catalyst rows / types
|
static Row |
productToRow(scala.Product product,
StructType schema) |
static java.util.Date |
stringToTime(String s) |
public static Row productToRow(scala.Product product, StructType schema)
public static java.util.Date stringToTime(String s)
public static Object convertJavaToCatalyst(Object a, DataType dataType)