Uses of Interface
java.sql.ShardingKey
-
Packages that use ShardingKey Package Description java.sql Provides the API for accessing and processing data stored in a data source (usually a relational database) using the Java™ programming language.javax.sql 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 ShardingKey Modifier and Type Method Description ShardingKeyShardingKeyBuilder. build()Returns an instance of the object defined by this builder.Methods in java.sql with parameters of type ShardingKey Modifier and Type Method Description default 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.ConnectionBuilderConnectionBuilder. shardingKey(ShardingKey shardingKey)Specifies ashardingKeyto be used when creating a connectionConnectionBuilderConnectionBuilder. 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 ShardingKey Modifier and Type Method Description PooledConnectionBuilderPooledConnectionBuilder. shardingKey(ShardingKey shardingKey)Specifies ashardingKeyto be used when creating a connectionXAConnectionBuilderXAConnectionBuilder. shardingKey(ShardingKey shardingKey)Specifies ashardingKeyto be used when creating a connectionPooledConnectionBuilderPooledConnectionBuilder. superShardingKey(ShardingKey superShardingKey)Specifies asuperShardingKeyto be used when creating a connectionXAConnectionBuilderXAConnectionBuilder. superShardingKey(ShardingKey superShardingKey)Specifies asuperShardingKeyto be used when creating a connection
-