org.apache.spark.sql.jdbc
Class MySQLDialect
Object
org.apache.spark.sql.jdbc.JdbcDialect
org.apache.spark.sql.jdbc.MySQLDialect
- All Implemented Interfaces:
- java.io.Serializable, scala.Equals, scala.Product
public class MySQLDialect
- extends JdbcDialect
- implements scala.Product, scala.Serializable
:: DeveloperApi ::
Default mysql dialect to read bit/bitsets correctly.
- See Also:
- Serialized Form
Methods inherited from class Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface scala.Product |
productArity, productElement, productIterator, productPrefix |
Methods inherited from interface scala.Equals |
canEqual, equals |
MySQLDialect
public MySQLDialect()
canHandle
public static boolean canHandle(String url)
getCatalystType
public static scala.Option<DataType> getCatalystType(int sqlType,
String typeName,
int size,
MetadataBuilder md)
quoteIdentifier
public static String quoteIdentifier(String colName)