| Modifier and Type | Method and Description |
|---|---|
static DatabaseProduct |
DatabaseProduct.determineDatabaseProduct(String productName,
org.apache.hadoop.conf.Configuration conf)
Determine the database product type
|
| Modifier and Type | Method and Description |
|---|---|
DatabaseProduct |
SQLGenerator.getDbProduct() |
| Constructor and Description |
|---|
SQLGenerator(DatabaseProduct dbProduct,
org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Field and Description |
|---|---|
protected static DatabaseProduct |
TxnHandler.dbProduct |
| Modifier and Type | Method and Description |
|---|---|
static void |
TxnUtils.executeQueriesInBatchNoCount(DatabaseProduct dbProduct,
Statement stmt,
List<String> queries,
int batchSize)
Calls queries in batch, but does not return affected row numbers.
|
static String |
TxnUtils.getEpochFn(DatabaseProduct dbProduct)
Get database specific function which returns the milliseconds value after the epoch.
|
| Modifier and Type | Method and Description |
|---|---|
DatabaseProduct |
MultiDataSourceJdbcResource.getDatabaseProduct() |
| Modifier and Type | Method and Description |
|---|---|
String |
ParameterizedBatchCommand.getParameterizedQueryString(DatabaseProduct databaseProduct)
The parameterized query string.
|
String |
ParameterizedQuery.getParameterizedQueryString(DatabaseProduct databaseProduct)
The parameterized query string.
|
String |
InClauseBatchCommand.getParameterizedQueryString(DatabaseProduct databaseProduct)
The parameterized query string.
|
void |
ConditionalCommand.onError(DatabaseProduct databaseProduct,
Exception e)
Called in case of execution error in order to notify this command about the failure
|
boolean |
ConditionalCommand.shouldBeUsed(DatabaseProduct databaseProduct)
Indicates if the command should be executed or not
|
| Constructor and Description |
|---|
MultiDataSourceJdbcResource(DatabaseProduct databaseProduct,
org.apache.hadoop.conf.Configuration conf,
SQLGenerator sqlGenerator)
Creates a new instance of the
MultiDataSourceJdbcResource class |
NoPoolConnectionPool(org.apache.hadoop.conf.Configuration conf,
DatabaseProduct dbProduct) |
| Modifier and Type | Method and Description |
|---|---|
String |
DeleteReplTxnMapEntryCommand.getParameterizedQueryString(DatabaseProduct databaseProduct) |
String |
RemoveDuplicateCompleteTxnComponentsCommand.getParameterizedQueryString(DatabaseProduct databaseProduct) |
String |
RemoveCompactionMetricsDataCommand.getParameterizedQueryString(DatabaseProduct databaseProduct) |
String |
InsertHiveLocksCommand.getParameterizedQueryString(DatabaseProduct databaseProduct) |
String |
AddWriteIdsToMinHistoryCommand.getParameterizedQueryString(DatabaseProduct databaseProduct) |
String |
AddWriteIdsToTxnToWriteIdCommand.getParameterizedQueryString(DatabaseProduct databaseProduct) |
String |
InsertCompletedTxnComponentsCommand.getParameterizedQueryString(DatabaseProduct databaseProduct) |
String |
InsertCompactionRequestCommand.getParameterizedQueryString(DatabaseProduct databaseProduct) |
String |
InsertCompactionInfoCommand.getParameterizedQueryString(DatabaseProduct databaseProduct) |
String |
InsertTxnComponentsCommand.getParameterizedQueryString(DatabaseProduct databaseProduct) |
void |
AddWriteIdsToMinHistoryCommand.onError(DatabaseProduct databaseProduct,
Exception e) |
void |
RemoveTxnsFromMinHistoryLevelCommand.onError(DatabaseProduct databaseProduct,
Exception e) |
void |
RemoveWriteIdsFromMinHistoryCommand.onError(DatabaseProduct databaseProduct,
Exception e) |
boolean |
AddWriteIdsToMinHistoryCommand.shouldBeUsed(DatabaseProduct databaseProduct) |
boolean |
RemoveTxnsFromMinHistoryLevelCommand.shouldBeUsed(DatabaseProduct databaseProduct) |
boolean |
RemoveWriteIdsFromMinHistoryCommand.shouldBeUsed(DatabaseProduct databaseProduct) |
| Constructor and Description |
|---|
SqlRetryHandler(org.apache.hadoop.conf.Configuration conf,
DatabaseProduct databaseProduct) |
Copyright © 2024 The Apache Software Foundation. All rights reserved.