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.
|
Modifier and Type | Method | Description |
---|---|---|
ShardingKey |
ShardingKeyBuilder.build() |
Returns an instance of the object defined by this builder.
|
Modifier and Type | Method | Description |
---|---|---|
default void |
Connection.setShardingKey(ShardingKey shardingKey) |
Specifies a shardingKey to use with this Connection
|
default void |
Connection.setShardingKey(ShardingKey shardingKey,
ShardingKey superShardingKey) |
Specifies a shardingKey and superShardingKey to use with this Connection
|
default 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 |
ConnectionBuilder.shardingKey(ShardingKey shardingKey) |
Specifies a
shardingKey to be used when creating a connection |
ConnectionBuilder |
ConnectionBuilder.superShardingKey(ShardingKey superShardingKey) |
Specifies a
superShardingKey to be used when creating a connection |
Modifier and Type | Method | Description |
---|---|---|
PooledConnectionBuilder |
PooledConnectionBuilder.shardingKey(ShardingKey shardingKey) |
Specifies a
shardingKey to be used when creating a connection |
XAConnectionBuilder |
XAConnectionBuilder.shardingKey(ShardingKey shardingKey) |
Specifies a
shardingKey to be used when creating a connection |
PooledConnectionBuilder |
PooledConnectionBuilder.superShardingKey(ShardingKey superShardingKey) |
Specifies a
superShardingKey to be used when creating a connection |
XAConnectionBuilder |
XAConnectionBuilder.superShardingKey(ShardingKey superShardingKey) |
Specifies a
superShardingKey to be used when creating a connection |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps