Interface DialectResolver.R2dbcDialectProvider
- Enclosing class:
- DialectResolver
public static interface DialectResolver.R2dbcDialectProvider
SPI to extend Spring's default R2DBC Dialect discovery mechanism. Implementations of this interface are discovered
through Spring's
SpringFactoriesLoader mechanism.- Author:
- Mark Paluch
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetDialect(io.r2dbc.spi.ConnectionFactory connectionFactory) Returns aR2dbcDialectfor aConnectionFactory.
-
Method Details
-
getDialect
Returns aR2dbcDialectfor aConnectionFactory.- Parameters:
connectionFactory- the connection factory to be used with theR2dbcDialect.- Returns:
Optionalcontaining theR2dbcDialectif theDialectResolver.R2dbcDialectProvidercan provide a dialect object, otherwiseOptional.empty().
-