public class DB2Dialect
extends Object
Constructor and Description |
---|
DB2Dialect() |
Modifier and Type | Method and Description |
---|---|
static void |
beforeFetch(java.sql.Connection connection,
scala.collection.immutable.Map<String,String> properties) |
static boolean |
canHandle(String url) |
static Object |
compileValue(Object value) |
static scala.Option<DataType> |
getCatalystType(int sqlType,
String typeName,
int size,
MetadataBuilder md) |
static scala.Option<JdbcType> |
getJDBCType(DataType dt) |
static String |
getSchemaQuery(String table) |
static String |
getTableExistsQuery(String table) |
static String |
getTruncateQuery(String table) |
static scala.Option<Object> |
isCascadingTruncateTable() |
static String |
quoteIdentifier(String colName) |
public static boolean canHandle(String url)
public static scala.Option<DataType> getCatalystType(int sqlType, String typeName, int size, MetadataBuilder md)
public static scala.Option<Object> isCascadingTruncateTable()
public static String quoteIdentifier(String colName)
public static String getTableExistsQuery(String table)
public static String getSchemaQuery(String table)
public static String getTruncateQuery(String table)
public static void beforeFetch(java.sql.Connection connection, scala.collection.immutable.Map<String,String> properties)
public static Object compileValue(Object value)