Class RegexWithNolock
java.lang.Object
org.miaixz.bus.pager.dialect.replace.RegexWithNolock
- All Implemented Interfaces:
ReplaceSql
正则处理 with(nolock),转换为一个 table_PAGEWITHNOLOCK
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
WITHNOLOCK
-
-
Constructor Details
-
RegexWithNolock
public RegexWithNolock()
-
-
Method Details
-
replace
Description copied from interface:ReplaceSql临时替换后用于 jsqlparser 解析- Specified by:
replacein interfaceReplaceSql- Parameters:
sql- SQL- Returns:
- the string
-
restore
Description copied from interface:ReplaceSql还原经过解析后的 sql- Specified by:
restorein interfaceReplaceSql- Parameters:
sql- SQL- Returns:
- the string
-