public class SelectR2dbcKeyGenerator extends Object implements R2dbcKeyGenerator
SelectKeyGenerator
| Constructor and Description |
|---|
SelectR2dbcKeyGenerator(org.apache.ibatis.executor.keygen.SelectKeyGenerator selectKeyGenerator,
R2dbcMybatisConfiguration r2dbcMybatisConfiguration,
ReactiveMybatisExecutor reactiveMybatisExecutor)
Instantiates a new Select r2dbc key generator.
|
| Modifier and Type | Method and Description |
|---|---|
KeyGeneratorType |
keyGeneratorType()
Key generator type key generator type.
|
Integer |
processGeneratedKeyResult(RowResultWrapper rowResultWrapper,
Object parameter)
Process generated key result mono.
|
reactor.core.publisher.Mono<Boolean> |
processSelectKey(KeyGeneratorType keyGeneratorType,
org.apache.ibatis.mapping.MappedStatement ms,
Object parameter)
Process select key mono.
|
public SelectR2dbcKeyGenerator(org.apache.ibatis.executor.keygen.SelectKeyGenerator selectKeyGenerator,
R2dbcMybatisConfiguration r2dbcMybatisConfiguration,
ReactiveMybatisExecutor reactiveMybatisExecutor)
selectKeyGenerator - the select key generatorr2dbcMybatisConfiguration - the r2dbc mybatis configurationreactiveMybatisExecutor - the reactive mybatis executorpublic KeyGeneratorType keyGeneratorType()
R2dbcKeyGeneratorkeyGeneratorType in interface R2dbcKeyGeneratorpublic reactor.core.publisher.Mono<Boolean> processSelectKey(KeyGeneratorType keyGeneratorType, org.apache.ibatis.mapping.MappedStatement ms, Object parameter)
R2dbcKeyGeneratorprocessSelectKey in interface R2dbcKeyGeneratorkeyGeneratorType - the KeyGeneratorTypems - the msparameter - the parameterpublic Integer processGeneratedKeyResult(RowResultWrapper rowResultWrapper, Object parameter)
R2dbcKeyGeneratorprocessGeneratedKeyResult in interface R2dbcKeyGeneratorrowResultWrapper - the row result wrapperparameter - the parameterCopyright © 2022. All rights reserved.