Uses of Interface
java.sql.ShardingKey
Packages that useShardingKey
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 ofShardingKey injava.sql
Methods injava.sql that returnShardingKeyModifier and TypeMethodDescriptionShardingKeyBuilder.build()Returns an instance of the object defined by this builder.Methods injava.sql with parameters of typeShardingKeyModifier 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 connectionUses ofShardingKey injavax.sql
Methods injavax.sql with parameters of typeShardingKeyModifier 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