Package | Description |
---|---|
oracle.jdbc.pool |
A package of connection cache and pooling related classes.
|
Modifier and Type | Method and Description |
---|---|
static List<OracleShardingKeyImpl> |
OracleShardingKeyImpl.decodeKeys(InputStream keysData,
ShardingMetadata metadata,
boolean isSuperKey,
boolean isKeyHigh)
Builds a list of sharding keys from the key data available as input stream
from the database sharding metadata table LOCAL_CHUNKS.
|
static List<OracleShardingKeyImpl> |
OracleShardingKeyImpl.decodeKeys(InputStream keysData,
ShardingMetadata metadata,
boolean isSuperKey,
boolean isKeyHigh)
Builds a list of sharding keys from the key data available as input stream
from the database sharding metadata table LOCAL_CHUNKS.
|
boolean |
OracleShardingKeyImpl.isValid(ShardingMetadata metadata)
Checks if this sharding key is valid for the sharded database represented
by the metadata
|
boolean |
OracleShardingKeyImpl.isValid(ShardingMetadata metadata)
Checks if this sharding key is valid for the sharded database represented
by the metadata
|
long |
OracleShardingKeyImpl.shardKeyOraHash(ShardingMetadata metadata)
Computes the hash value of the Sharding key as per Oracle's internal hash
function.
|
long |
OracleShardingKeyImpl.shardKeyOraHash(ShardingMetadata metadata)
Computes the hash value of the Sharding key as per Oracle's internal hash
function.
|