public class TeradataDialect
extends Object
Constructor and Description |
---|
TeradataDialect() |
Modifier and Type | Method and Description |
---|---|
static void |
beforeFetch(java.sql.Connection connection,
scala.collection.immutable.Map<String,String> properties) |
abstract static boolean |
canEqual(Object that) |
static boolean |
canHandle(String url) |
static Object |
compileValue(Object value) |
abstract static boolean |
equals(Object that) |
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,
scala.Option<Object> cascade)
The SQL query used to truncate a table.
|
static scala.Option<Object> |
getTruncateQuery$default$2() |
static scala.Option<Object> |
isCascadingTruncateTable() |
abstract static int |
productArity() |
abstract static Object |
productElement(int n) |
static scala.collection.Iterator<Object> |
productIterator() |
static String |
productPrefix() |
static String |
quoteIdentifier(String colName) |
public static boolean canHandle(String url)
public static scala.Option<Object> isCascadingTruncateTable()
public static String getTruncateQuery(String table, scala.Option<Object> cascade)
table
- The table to truncate.cascade
- Whether or not to cascade the truncation. Default value is the
value of isCascadingTruncateTable(). Teradata does not support cascading a
'DELETE FROM' statement (and as mentioned, does not support 'TRUNCATE' syntax)public static scala.Option<DataType> getCatalystType(int sqlType, String typeName, int size, MetadataBuilder md)
public static String quoteIdentifier(String colName)
public static String getTableExistsQuery(String table)
public static String getSchemaQuery(String table)
public static void beforeFetch(java.sql.Connection connection, scala.collection.immutable.Map<String,String> properties)
public static Object compileValue(Object value)
public static scala.Option<Object> getTruncateQuery$default$2()
public abstract static boolean canEqual(Object that)
public abstract static boolean equals(Object that)
public abstract static Object productElement(int n)
public abstract static int productArity()
public static scala.collection.Iterator<Object> productIterator()
public static String productPrefix()