Class DelegateR2dbcParameterHandler
- java.lang.Object
-
- pro.chenggang.project.reactive.mybatis.support.r2dbc.executor.parameter.DelegateR2dbcParameterHandler
-
- All Implemented Interfaces:
InvocationHandler
public class DelegateR2dbcParameterHandler extends Object implements InvocationHandler
The type Delegate R2dbc parameter handler.- Version:
- 1.0.0
- Author:
- Gang Cheng
-
-
Constructor Summary
Constructors Constructor Description DelegateR2dbcParameterHandler(R2dbcMybatisConfiguration r2DbcMybatisConfiguration, org.apache.ibatis.executor.parameter.ParameterHandler parameterHandler, io.r2dbc.spi.Statement statement, R2dbcStatementLog r2dbcStatementLog)Instantiates a new Delegate R2dbc parameter handler.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectinvoke(Object proxy, Method method, Object[] args)voidsetParameters(PreparedStatement ps)delegate set parameters
-
-
-
Constructor Detail
-
DelegateR2dbcParameterHandler
public DelegateR2dbcParameterHandler(R2dbcMybatisConfiguration r2DbcMybatisConfiguration, org.apache.ibatis.executor.parameter.ParameterHandler parameterHandler, io.r2dbc.spi.Statement statement, R2dbcStatementLog r2dbcStatementLog)
Instantiates a new Delegate R2dbc parameter handler.- Parameters:
r2DbcMybatisConfiguration- the R2dbc mybatis configurationparameterHandler- the parameter handlerstatement- the statementr2dbcStatementLog- the statement log helper
-
-
Method Detail
-
invoke
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
- Specified by:
invokein interfaceInvocationHandler- Throws:
Throwable
-
setParameters
public void setParameters(PreparedStatement ps)
delegate set parameters- Parameters:
ps- the ps
-
-