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_PLACE_HOLD
The constant LOCK_TABLE_PLACE_HOLD.
|
| 构造器和说明 |
|---|
AbstractLockStoreSql() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getBatchDeleteLockSql(String lockTable,
String paramPlaceHold)
Get batch delete lock sql string.
|
String |
getBatchDeleteLockSqlByBranch(String lockTable)
Get batch delete lock sql string.
|
String |
getBatchDeleteLockSqlByBranchs(String lockTable,
String paramPlaceHold)
Get batch delete lock sql string.
|
String |
getCheckLockableSql(String lockTable,
String paramPlaceHold)
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 IN_PARAMS_PLACE_HOLD
public String getInsertLockSQL(String lockTable)
LockStoreSqlgetInsertLockSQL 在接口中 LockStoreSqllockTable - the lock tablepublic String getDeleteLockSql(String lockTable)
LockStoreSqlgetDeleteLockSql 在接口中 LockStoreSqllockTable - the lock tablepublic String getBatchDeleteLockSql(String lockTable, String paramPlaceHold)
LockStoreSqlgetBatchDeleteLockSql 在接口中 LockStoreSqllockTable - the lock tableparamPlaceHold - the param place holdpublic String getBatchDeleteLockSqlByBranch(String lockTable)
LockStoreSqlgetBatchDeleteLockSqlByBranch 在接口中 LockStoreSqllockTable - the lock tablepublic String getBatchDeleteLockSqlByBranchs(String lockTable, String paramPlaceHold)
LockStoreSqlgetBatchDeleteLockSqlByBranchs 在接口中 LockStoreSqllockTable - the lock tableparamPlaceHold - the param place holdpublic String getQueryLockSql(String lockTable)
LockStoreSqlgetQueryLockSql 在接口中 LockStoreSqllockTable - the lock tablepublic String getCheckLockableSql(String lockTable, String paramPlaceHold)
LockStoreSqlgetCheckLockableSql 在接口中 LockStoreSqllockTable - the lock tableparamPlaceHold - the param place holdCopyright © 2020 Seata. All rights reserved.