Uses of Interface
java.sql.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
Modifier and TypeMethodDescriptionShardingKeyBuilder.build()
Returns an instance of the object defined by this builder.Modifier and TypeMethodDescriptiondefault void
Connection.setShardingKey(ShardingKey shardingKey)
Specifies a shardingKey to use with this Connectiondefault void
Connection.setShardingKey(ShardingKey shardingKey, ShardingKey superShardingKey)
Specifies a shardingKey and superShardingKey to use with this Connectiondefault boolean
Connection.setShardingKeyIfValid(ShardingKey shardingKey, int timeout)
Sets and validates the sharding key for this connection.default boolean
Connection.setShardingKeyIfValid(ShardingKey shardingKey, ShardingKey superShardingKey, int timeout)
Sets and validates the sharding keys for this connection.ConnectionBuilder.shardingKey(ShardingKey shardingKey)
Specifies ashardingKey
to be used when creating a connectionConnectionBuilder.superShardingKey(ShardingKey superShardingKey)
Specifies asuperShardingKey
to be used when creating a connection -
Uses of ShardingKey in javax.sql
Modifier and TypeMethodDescriptionPooledConnectionBuilder.shardingKey(ShardingKey shardingKey)
Specifies ashardingKey
to be used when creating a connectionXAConnectionBuilder.shardingKey(ShardingKey shardingKey)
Specifies ashardingKey
to be used when creating a connectionPooledConnectionBuilder.superShardingKey(ShardingKey superShardingKey)
Specifies asuperShardingKey
to be used when creating a connectionXAConnectionBuilder.superShardingKey(ShardingKey superShardingKey)
Specifies asuperShardingKey
to be used when creating a connection