public class SQLDialect extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_TABLE_
Name of config table.
|
static String |
DUAL_TABLE
Name of dual table.
|
static String |
TMP_TABLE_
Name of temp table.
|
| Constructor and Description |
|---|
SQLDialect() |
| Modifier and Type | Method and Description |
|---|---|
static String |
dmlTableReference(String tableName,
Session session,
ExecutionContext executionContext)
Gets table reference for DML statements for a given working table.
|
UPSERT_MODE |
getUpsertMode() |
boolean |
isNeedsValuesKeywordForDeletes() |
boolean |
isSupportsInClauseForDeletes() |
boolean |
isSupportsMultiRowInserts() |
void |
setNeedsValuesKeywordForDeletes(boolean needsValuesKeywordForDeletes) |
void |
setSupportsInClauseForDeletes(boolean supportsInClauseForDeletes) |
void |
setSupportsMultiRowInserts(boolean supportsMultiRowInserts) |
void |
setUpsertMode(UPSERT_MODE upsertMode) |
String |
toString() |
public static final String CONFIG_TABLE_
public static final String TMP_TABLE_
public static final String DUAL_TABLE
public boolean isNeedsValuesKeywordForDeletes()
public void setNeedsValuesKeywordForDeletes(boolean needsValuesKeywordForDeletes)
needsValuesKeywordForDeletes - the needsValuesKeywordForDeletes to setpublic boolean isSupportsInClauseForDeletes()
public void setSupportsInClauseForDeletes(boolean supportsInClauseForDeletes)
supportsInClauseForDeletes - the supportsInClauseForDeletes to setpublic boolean isSupportsMultiRowInserts()
public void setSupportsMultiRowInserts(boolean supportsMultiRowInserts)
supportsMultiRowInserts - the supportsMultiRowInserts to setpublic UPSERT_MODE getUpsertMode()
public void setUpsertMode(UPSERT_MODE upsertMode)
upsertMode - the upsertMode to setpublic static String dmlTableReference(String tableName, Session session, ExecutionContext executionContext) throws SQLException
tableName - the working tablesession - holds connection to DBMSSQLExceptionpublic String toString()
toString in class ObjectObject.toString()