public static class OracleShardingKeyImpl.Decoder extends Object
| Constructor and Description |
|---|
Decoder(ShardingMetadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
List<OracleShardingKeyImpl> |
buildShardKeys(List<byte[]> subKeysByteArr,
boolean isSuperShardingKey,
boolean isHighKey)
Builds the sharding keys given the decodes byte[] representing the
sharding keys
|
public Decoder(ShardingMetadata metadata)
metadata - used to decode the B64 formatted sharding keys the constructor
will throw an IllegalArgumentException if metadata is nullpublic List<OracleShardingKeyImpl> buildShardKeys(List<byte[]> subKeysByteArr, boolean isSuperShardingKey, boolean isHighKey) throws SQLException
subKeysByteArr - isSuperShardingKey - SQLException