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 and Description |
---|---|
ShardingKey |
ShardingKeyBuilder.build()
Returns an instance of the object defined by this builder.
|
Modifier and Type | Method and 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 and Description |
---|---|
default void |
XAConnection.setShardingKey(ShardingKey shardingKey)
Specifies a shardingKey to use with this Connection
|
default void |
XAConnection.setShardingKey(ShardingKey shardingKey,
ShardingKey superShardingKey)
Specifies a shardingKey and superShardingKey to use with this Connection
|
default boolean |
XAConnection.setShardingKeyIfValid(ShardingKey shardingKey,
int timeout)
Sets and validates the sharding key for this connection.
|
default boolean |
XAConnection.setShardingKeyIfValid(ShardingKey shardingKey,
ShardingKey superShardingKey,
int timeout)
Sets and validates the sharding keys for this connection.
|
XAConnectionBuilder |
XAConnectionBuilder.shardingKey(ShardingKey shardingKey)
Specifies a
shardingKey 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, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-01-26-133437.ivan.openjdk9onspinwait