org.apache.spark.sql.jdbc
Class MySQLDialect

Object
  extended by org.apache.spark.sql.jdbc.JdbcDialect
      extended by 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

Constructor Summary
MySQLDialect()
           
 
Method Summary
static boolean canHandle(String url)
           
static scala.Option<DataType> getCatalystType(int sqlType, String typeName, int size, MetadataBuilder md)
           
static String quoteIdentifier(String colName)
           
 
Methods inherited from class org.apache.spark.sql.jdbc.JdbcDialect
canHandle, getCatalystType, getJDBCType, quoteIdentifier
 
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
 

Constructor Detail

MySQLDialect

public MySQLDialect()
Method Detail

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)