Uses of Interface
org.springframework.jdbc.datasource.ShardingKeyProvider
Packages that use ShardingKeyProvider
Package
Description
Provides a utility class for easy DataSource access,
a PlatformTransactionManager for a single DataSource,
and various simple DataSource implementations.
-
Uses of ShardingKeyProvider in org.springframework.jdbc.datasource
Methods in org.springframework.jdbc.datasource with parameters of type ShardingKeyProviderModifier and TypeMethodDescriptionvoid
ShardingKeyDataSourceAdapter.setShardingKeyProvider
(ShardingKeyProvider shardingKeyProvider) Set theShardingKeyProvider
for this adapter.Constructors in org.springframework.jdbc.datasource with parameters of type ShardingKeyProviderModifierConstructorDescriptionShardingKeyDataSourceAdapter
(DataSource dataSource, ShardingKeyProvider shardingKeyProvider) Create a new instance ofShardingKeyDataSourceAdapter
, wrapping the givenDataSource
.