Class NoKeyR2dbcKeyGenerator
- java.lang.Object
-
- pro.chenggang.project.reactive.mybatis.support.r2dbc.executor.key.NoKeyR2dbcKeyGenerator
-
- All Implemented Interfaces:
R2dbcKeyGenerator
public class NoKeyR2dbcKeyGenerator extends Object implements R2dbcKeyGenerator
The type No key r 2 dbc key generator.- Since:
- 1.0.2
- Version:
- 1.0.2
- Author:
- Gang Cheng
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NoKeyR2dbcKeyGeneratorgetInstance()Gets instance.KeyGeneratorTypekeyGeneratorType()Key generator type key generator type.IntegerprocessGeneratedKeyResult(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.
-
-
-
Method Detail
-
getInstance
public static NoKeyR2dbcKeyGenerator getInstance()
Gets instance.- Returns:
- the instance
-
keyGeneratorType
public KeyGeneratorType keyGeneratorType()
Description copied from interface:R2dbcKeyGeneratorKey generator type key generator type.- Specified by:
keyGeneratorTypein interfaceR2dbcKeyGenerator- Returns:
- the key generator type
-
processSelectKey
public reactor.core.publisher.Mono<Boolean> processSelectKey(KeyGeneratorType keyGeneratorType, org.apache.ibatis.mapping.MappedStatement ms, Object parameter)
Description copied from interface:R2dbcKeyGeneratorProcess select key mono.- Specified by:
processSelectKeyin interfaceR2dbcKeyGenerator- Parameters:
keyGeneratorType- the KeyGeneratorTypems- the msparameter- the parameter- Returns:
- the mono
-
processGeneratedKeyResult
public Integer processGeneratedKeyResult(RowResultWrapper rowResultWrapper, Object parameter)
Description copied from interface:R2dbcKeyGeneratorProcess generated key result mono.- Specified by:
processGeneratedKeyResultin interfaceR2dbcKeyGenerator- Parameters:
rowResultWrapper- the row result wrapperparameter- the parameter- Returns:
- the mono
-
-