public interface JdbcDialect extends Serializable
| Modifier and Type | Method and Description |
|---|---|
String |
escape(String ident) |
int |
getFetchSize()
Gives the JDBC driver a hint how many rows should be fetched from the database when more rows are needed.
|
int |
getMaxParameterCount()
Get max query parameters count.
|
boolean |
hasMerge() |
String |
insertQuery(String fullTblName,
Collection<String> keyCols,
Collection<String> valCols)
Construct insert query.
|
String |
loadCacheQuery(String fullTblName,
Iterable<String> uniqCols)
Construct load cache query.
|
String |
loadCacheRangeQuery(String fullTblName,
Collection<String> keyCols,
Iterable<String> uniqCols,
boolean appendLowerBound,
boolean appendUpperBound)
Construct load cache query over specified range.
|
String |
loadCacheSelectRangeQuery(String fullTblName,
Collection<String> keyCols)
Construct query to get ranges bounds.
|
String |
loadQuery(String fullTblName,
Collection<String> keyCols,
Iterable<String> cols,
int keyCnt)
Construct load query.
|
String |
mergeQuery(String fullTblName,
Collection<String> keyCols,
Collection<String> uniqCols)
Construct merge query.
|
String |
removeQuery(String fullTblName,
Iterable<String> keyCols)
Construct remove query.
|
String |
updateQuery(String fullTblName,
Collection<String> keyCols,
Iterable<String> valCols)
Construct update query.
|
String escape(String ident)
ident - SQL identifier to escape.String loadCacheSelectRangeQuery(String fullTblName, Collection<String> keyCols)
fullTblName - Full table name.keyCols - Database key columns for order.String loadCacheRangeQuery(String fullTblName, Collection<String> keyCols, Iterable<String> uniqCols, boolean appendLowerBound, boolean appendUpperBound)
fullTblName - Full table name.keyCols - Database key columns for order.uniqCols - Database unique value columns.appendLowerBound - Need add lower bound for range.appendUpperBound - Need add upper bound for range.String loadCacheQuery(String fullTblName, Iterable<String> uniqCols)
fullTblName - Full table name.uniqCols - Database unique value columns.String loadQuery(String fullTblName, Collection<String> keyCols, Iterable<String> cols, int keyCnt)
fullTblName - Full table name.keyCols - Database key columns.cols - Selected columns.keyCnt - Key count.String insertQuery(String fullTblName, Collection<String> keyCols, Collection<String> valCols)
fullTblName - Full table name.keyCols - Database key columns.valCols - Database value columns.String updateQuery(String fullTblName, Collection<String> keyCols, Iterable<String> valCols)
fullTblName - Full table name.keyCols - Database key columns.valCols - Database value columns.boolean hasMerge()
True if database support merge operation.String mergeQuery(String fullTblName, Collection<String> keyCols, Collection<String> uniqCols)
fullTblName - Full table name.keyCols - Database key columns.uniqCols - Database unique value columns.String removeQuery(String fullTblName, Iterable<String> keyCols)
fullTblName - Full table name.keyCols - Database key columns.int getMaxParameterCount()
int getFetchSize()
GridGain In-Memory Computing Platform : ver. 8.9.26 Release Date : October 16 2025