Interface R2dbcKeyGenerator
-
- All Known Implementing Classes:
DefaultR2dbcKeyGenerator,NoKeyR2dbcKeyGenerator,SelectR2dbcKeyGenerator
public interface R2dbcKeyGeneratorThe interface R2dbc key generator.- Since:
- 1.0.2
- Version:
- 1.0.2
- Author:
- Gang Cheng
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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
-
keyGeneratorType
KeyGeneratorType keyGeneratorType()
Key generator type key generator type.- Returns:
- the key generator type
-
processSelectKey
reactor.core.publisher.Mono<Boolean> processSelectKey(KeyGeneratorType keyGeneratorType, org.apache.ibatis.mapping.MappedStatement ms, Object parameter)
Process select key mono.- Parameters:
keyGeneratorType- the KeyGeneratorTypems- the msparameter- the parameter- Returns:
- the mono
-
processGeneratedKeyResult
Integer processGeneratedKeyResult(RowResultWrapper rowResultWrapper, Object parameter)
Process generated key result mono.- Parameters:
rowResultWrapper- the row result wrapperparameter- the parameter- Returns:
- the mono
-
-