public class DefaultPlaceholderFormatter extends Object implements PlaceholderFormatter
| Constructor and Description |
|---|
DefaultPlaceholderFormatter(PlaceholderDialectRegistry placeholderDialectRegistry) |
| Modifier and Type | Method and Description |
|---|---|
protected List<Integer> |
extractJdbcPlaceholderIndex(String sql)
extract jdbc placeholder index
|
String |
replaceSqlPlaceholder(io.r2dbc.spi.ConnectionFactory connectionFactory,
org.apache.ibatis.mapping.BoundSql boundSql,
ReactiveExecutorContextAttribute reactiveExecutorContextAttribute)
Replace sql placeholder string.
|
public DefaultPlaceholderFormatter(PlaceholderDialectRegistry placeholderDialectRegistry)
public String replaceSqlPlaceholder(io.r2dbc.spi.ConnectionFactory connectionFactory, org.apache.ibatis.mapping.BoundSql boundSql, ReactiveExecutorContextAttribute reactiveExecutorContextAttribute)
PlaceholderFormatterreplaceSqlPlaceholder in interface PlaceholderFormatterconnectionFactory - the connection factoryboundSql - the bound sqlreactiveExecutorContextAttribute - the reactive executor context attributeCopyright © 2022. All rights reserved.