public class AbstractLockStoreSql extends Object implements LockStoreSql
| 限定符和类型 | 字段和说明 |
|---|---|
protected static String |
ALL_COLUMNS
The constant ALL_COLUMNS.
|
protected static Configuration |
CONFIG
The constant CONFIG.
|
protected static String |
IN_PARAMS_PLACE_HOLD
The constant IN_PARAMS_PLACE_HOLD.
|
protected static String |
LOCK_TABLE_BRANCH_ID_WHERE_CONDITION_PLACE_HOLD
The constant LOCK_TABLE_BRANCH_ID_WHERE_CONDITION_PLACE_HOLD.
|
protected static String |
LOCK_TABLE_PK_WHERE_CONDITION_PLACE_HOLD
The constant LOCK_TABLE_PK_WHERE_CONDITION_PLACE_HOLD.
|
protected static String |
LOCK_TABLE_PLACE_HOLD
The constant LOCK_TABLE_PLACE_HOLD.
|
protected static String |
WHERE_PLACE_HOLD
The constant WHERE_PLACE_HOLD
|
| 构造器和说明 |
|---|
AbstractLockStoreSql() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getAllLockSql(String lockTable,
String whereCondition)
Get all lock sql string.
|
String |
getBatchDeleteLockSql(String lockTable,
int rowSize)
Get batch delete lock sql string.
|
String |
getBatchDeleteLockSqlByBranch(String lockTable)
Get batch delete lock sql string.
|
String |
getBatchDeleteLockSqlByXid(String lockTable)
Get batch delete lock sql string.
|
String |
getBatchUpdateStatusLockByGlobalSql(String lockTable)
get batch update status lock by global sql
|
String |
getCheckLockableSql(String lockTable,
int rowSize)
Get check lock sql string.
|
String |
getDeleteLockSql(String lockTable)
Get delete lock sql string.
|
String |
getInsertLockSQL(String lockTable)
Get insert lock sql string.
|
String |
getQueryLockSql(String lockTable)
Get query lock sql string.
|
protected static final Configuration CONFIG
protected static final String LOCK_TABLE_PLACE_HOLD
protected static final String WHERE_PLACE_HOLD
protected static final String IN_PARAMS_PLACE_HOLD
protected static final String LOCK_TABLE_PK_WHERE_CONDITION_PLACE_HOLD
protected static final String LOCK_TABLE_BRANCH_ID_WHERE_CONDITION_PLACE_HOLD
public String getAllLockSql(String lockTable, String whereCondition)
LockStoreSqlgetAllLockSql 在接口中 LockStoreSqllockTable - the lock tablewhereCondition - where conditionpublic String getInsertLockSQL(String lockTable)
LockStoreSqlgetInsertLockSQL 在接口中 LockStoreSqllockTable - the lock tablepublic String getDeleteLockSql(String lockTable)
LockStoreSqlgetDeleteLockSql 在接口中 LockStoreSqllockTable - the lock tablepublic String getBatchDeleteLockSql(String lockTable, int rowSize)
LockStoreSqlgetBatchDeleteLockSql 在接口中 LockStoreSqllockTable - the lock tablerowSize - the size of rowkeypublic String getBatchDeleteLockSqlByBranch(String lockTable)
LockStoreSqlgetBatchDeleteLockSqlByBranch 在接口中 LockStoreSqllockTable - the lock tablepublic String getBatchDeleteLockSqlByXid(String lockTable)
LockStoreSqlgetBatchDeleteLockSqlByXid 在接口中 LockStoreSqllockTable - the lock tablepublic String getQueryLockSql(String lockTable)
LockStoreSqlgetQueryLockSql 在接口中 LockStoreSqllockTable - the lock tablepublic String getCheckLockableSql(String lockTable, int rowSize)
LockStoreSqlgetCheckLockableSql 在接口中 LockStoreSqllockTable - the lock tablerowSize - the size of rowkeypublic String getBatchUpdateStatusLockByGlobalSql(String lockTable)
LockStoreSqlgetBatchUpdateStatusLockByGlobalSql 在接口中 LockStoreSqllockTable - the lock tableCopyright © 2022 Seata. All rights reserved.