public interface JdbcDialect
Modifier and Type | Method and Description |
---|---|
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 select count query.
|
String |
loadCacheSelectRangeQuery(String fullTblName,
Collection<String> keyCols)
Construct select count query.
|
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 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()
Follow @ApacheIgnite
Apache Ignite Fabric : ver. 1.0.0 Release Date : March 31 2015