public class MySQLQuirks extends DriverQuirks
Constructor and Description |
---|
MySQLQuirks() |
Modifier and Type | Method and Description |
---|---|
org.apache.spark.sql.types.DataType |
getCatalystType(int sqlType,
String typeName,
int size,
org.apache.spark.sql.types.MetadataBuilder md) |
scala.Tuple2<String,scala.Option<Object>> |
getJDBCType(org.apache.spark.sql.types.DataType dt) |
get
public org.apache.spark.sql.types.DataType getCatalystType(int sqlType, String typeName, int size, org.apache.spark.sql.types.MetadataBuilder md)
getCatalystType
in class DriverQuirks
public scala.Tuple2<String,scala.Option<Object>> getJDBCType(org.apache.spark.sql.types.DataType dt)
getJDBCType
in class DriverQuirks