public abstract class AbstractLogStoreSqls extends Object implements LogStoreSqls
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ALL_BRANCH_COLUMNS
The constant ALL_BRANCH_COLUMNS.
|
static String |
ALL_GLOBAL_COLUMNS
The constant ALL_GLOBAL_COLUMNS.
|
static String |
BRANCH_TABLE_PLACEHOLD
The constant BRANCH_TABLE_PLACEHOLD.
|
static String |
DELETE_BRANCH_TRANSACTION_BY_BRANCH_ID
The constant DELETE_BRANCH_TRANSACTION_BY_BRANCH_ID.
|
static String |
DELETE_BRANCH_TRANSACTION_BY_XID
The constant DELETE_BRANCH_TRANSACTION_BY_XID.
|
static String |
DELETE_GLOBAL_TRANSACTION
The constant DELETE_GLOBAL_TRANSACTION.
|
static String |
GLOBAL_TABLE_PLACEHOLD
The constant GLOBAL_TABLE_PLACEHOLD.
|
static String |
PRAMETER_PLACEHOLD
The constant PRAMETER_PLACEHOLD.
|
static String |
QUERY_ALL_BRANCH_WITH_XID
The constant QUERY_ALL_BRANCH.
|
static String |
QUERY_BRANCH_TRANSACTION
The constant QUERY_BRANCH_TRANSACTION.
|
static String |
QUERY_BRANCH_TRANSACTION_XIDS
The constant QUERY_BRANCH_TRANSACTION_XIDS.
|
static String |
QUERY_GLOBAL_TRANSACTION
The constant QUERY_GLOBAL_TRANSACTION.
|
static String |
QUERY_GLOBAL_TRANSACTION_BY_ID
The constant QUERY_GLOBAL_TRANSACTION_ID.
|
static String |
QUERY_MAX_BTANCH_ID
The constant CHECK_MAX_BTANCH_ID.
|
static String |
QUERY_MAX_TRANS_ID
The constant CHECK_MAX_TRANS_ID.
|
static String |
WHERE_PLACEHOLD
The constant WHERE_PLACEHOLD
|
| Constructor and Description |
|---|
AbstractLogStoreSqls() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAllBranchSessionSQL(String branchTable,
String whereCondition)
Get all branch session sql string.
|
String |
getAllGlobalSessionSql(String globalTable,
String whereCondition)
Get all global session sql string.
|
String |
getDeleteBranchTransactionByBranchIdSQL(String branchTable)
Get delete branch transaction by branch id sql string.
|
String |
getDeleteBranchTransactionByXId(String branchTable)
Get delete branch transaction by x id string.
|
String |
getDeleteGlobalTransactionSQL(String globalTable)
Get delete global transaction sql string.
|
abstract String |
getInsertBranchTransactionSQL(String branchTable)
Get insert branch transaction sql string.
|
abstract String |
getInsertGlobalTransactionSQL(String globalTable)
Get insert global transaction sql string.
|
String |
getQueryBranchMax(String branchTable)
Gets query branch max.
|
String |
getQueryBranchTransaction(String branchTable)
Get query branch transaction string.
|
String |
getQueryBranchTransaction(String branchTable,
String paramsPlaceHolder)
Get query branch transaction string.
|
String |
getQueryGlobalMax(String globalTable)
Gets query global max.
|
abstract String |
getQueryGlobalTransactionForRecoverySQL(String globalTable)
Get query global transaction for recovery sql string.
|
String |
getQueryGlobalTransactionSQL(String globalTable)
Get query global transaction sql string.
|
abstract String |
getQueryGlobalTransactionSQLByStatus(String globalTable,
String paramsPlaceHolder)
Get query global transaction sql by status string.
|
String |
getQueryGlobalTransactionSQLByTransactionId(String globalTable)
Get query global transaction sql by transaction id string.
|
abstract String |
getUpdateBranchTransactionStatusSQL(String branchTable)
Get update branch transaction status sql string.
|
abstract String |
getUpdateGlobalTransactionStatusSQL(String globalTable)
Get update global transaction status sql string.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetUpdateBranchTransactionStatusAppDataSQL, getUpdateGlobalTransactionStatusByStatusSQLpublic static final String GLOBAL_TABLE_PLACEHOLD
public static final String BRANCH_TABLE_PLACEHOLD
public static final String PRAMETER_PLACEHOLD
public static final String WHERE_PLACEHOLD
public static final String ALL_GLOBAL_COLUMNS
protected static final String ALL_BRANCH_COLUMNS
public static final String DELETE_GLOBAL_TRANSACTION
public static final String QUERY_GLOBAL_TRANSACTION
public static final String QUERY_GLOBAL_TRANSACTION_BY_ID
public static final String DELETE_BRANCH_TRANSACTION_BY_BRANCH_ID
public static final String DELETE_BRANCH_TRANSACTION_BY_XID
public static final String QUERY_BRANCH_TRANSACTION
public static final String QUERY_BRANCH_TRANSACTION_XIDS
public static final String QUERY_MAX_TRANS_ID
public static final String QUERY_MAX_BTANCH_ID
public static final String QUERY_ALL_BRANCH_WITH_XID
public String getAllGlobalSessionSql(String globalTable, String whereCondition)
LogStoreSqlsgetAllGlobalSessionSql in interface LogStoreSqlsglobalTable - the global tablewhereCondition - the where conditionpublic String getAllBranchSessionSQL(String branchTable, String whereCondition)
LogStoreSqlsgetAllBranchSessionSQL in interface LogStoreSqlsbranchTable - the branch tablewhereCondition - the where conditionpublic abstract String getInsertGlobalTransactionSQL(String globalTable)
LogStoreSqlsgetInsertGlobalTransactionSQL in interface LogStoreSqlsglobalTable - the global tablepublic abstract String getUpdateGlobalTransactionStatusSQL(String globalTable)
LogStoreSqlsgetUpdateGlobalTransactionStatusSQL in interface LogStoreSqlsglobalTable - the global tablepublic String getDeleteGlobalTransactionSQL(String globalTable)
LogStoreSqlsgetDeleteGlobalTransactionSQL in interface LogStoreSqlsglobalTable - the global tablepublic String getQueryGlobalTransactionSQL(String globalTable)
LogStoreSqlsgetQueryGlobalTransactionSQL in interface LogStoreSqlsglobalTable - the global tablepublic String getQueryGlobalTransactionSQLByTransactionId(String globalTable)
LogStoreSqlsgetQueryGlobalTransactionSQLByTransactionId in interface LogStoreSqlsglobalTable - the global tablepublic abstract String getQueryGlobalTransactionSQLByStatus(String globalTable, String paramsPlaceHolder)
LogStoreSqlsgetQueryGlobalTransactionSQLByStatus in interface LogStoreSqlsglobalTable - the global tableparamsPlaceHolder - the params place holderpublic abstract String getQueryGlobalTransactionForRecoverySQL(String globalTable)
LogStoreSqlsgetQueryGlobalTransactionForRecoverySQL in interface LogStoreSqlsglobalTable - the global tablepublic abstract String getInsertBranchTransactionSQL(String branchTable)
LogStoreSqlsgetInsertBranchTransactionSQL in interface LogStoreSqlsbranchTable - the branch tablepublic abstract String getUpdateBranchTransactionStatusSQL(String branchTable)
LogStoreSqlsgetUpdateBranchTransactionStatusSQL in interface LogStoreSqlsbranchTable - the branch tablepublic String getDeleteBranchTransactionByBranchIdSQL(String branchTable)
LogStoreSqlsgetDeleteBranchTransactionByBranchIdSQL in interface LogStoreSqlsbranchTable - the branch tablepublic String getDeleteBranchTransactionByXId(String branchTable)
LogStoreSqlsgetDeleteBranchTransactionByXId in interface LogStoreSqlsbranchTable - the branch tablepublic String getQueryBranchTransaction(String branchTable)
LogStoreSqlsgetQueryBranchTransaction in interface LogStoreSqlsbranchTable - the branch tablepublic String getQueryBranchTransaction(String branchTable, String paramsPlaceHolder)
LogStoreSqlsgetQueryBranchTransaction in interface LogStoreSqlsbranchTable - the branch tableparamsPlaceHolder - the params place holderpublic String getQueryGlobalMax(String globalTable)
LogStoreSqlsgetQueryGlobalMax in interface LogStoreSqlsglobalTable - the global tablepublic String getQueryBranchMax(String branchTable)
LogStoreSqlsgetQueryBranchMax in interface LogStoreSqlsbranchTable - the branch tableCopyright © 2023 Seata. All rights reserved.