Uses of Interface
java.sql.ShardingKey
Packages that use ShardingKey
Package
Description
Provides the API for accessing and processing data stored in a
data source (usually a relational database) using the
Java programming language.
Provides the API for server side data source access and processing from
the Java programming language.
-
Uses of ShardingKey in java.sql
Methods in java.sql that return ShardingKeyModifier and TypeMethodDescriptionShardingKeyBuilder.build()Returns an instance of the object defined by this builder.Methods in java.sql with parameters of type ShardingKeyModifier and TypeMethodDescriptiondefault voidConnection.setShardingKey(ShardingKey shardingKey) Specifies a shardingKey to use with this Connectiondefault voidConnection.setShardingKey(ShardingKey shardingKey, ShardingKey superShardingKey) Specifies a shardingKey and superShardingKey to use with this Connectiondefault booleanConnection.setShardingKeyIfValid(ShardingKey shardingKey, int timeout) Sets and validates the sharding key for this connection.default booleanConnection.setShardingKeyIfValid(ShardingKey shardingKey, ShardingKey superShardingKey, int timeout) Sets and validates the sharding keys for this connection.ConnectionBuilder.shardingKey(ShardingKey shardingKey) Specifies ashardingKeyto be used when creating a connectionConnectionBuilder.superShardingKey(ShardingKey superShardingKey) Specifies asuperShardingKeyto be used when creating a connection -
Uses of ShardingKey in javax.sql
Methods in javax.sql with parameters of type ShardingKeyModifier and TypeMethodDescriptionPooledConnectionBuilder.shardingKey(ShardingKey shardingKey) Specifies ashardingKeyto be used when creating a connectionXAConnectionBuilder.shardingKey(ShardingKey shardingKey) Specifies ashardingKeyto be used when creating a connectionPooledConnectionBuilder.superShardingKey(ShardingKey superShardingKey) Specifies asuperShardingKeyto be used when creating a connectionXAConnectionBuilder.superShardingKey(ShardingKey superShardingKey) Specifies asuperShardingKeyto be used when creating a connection