public static class OracleShardingKeyImpl.Decoder
extends java.lang.Object
| Constructor and Description |
|---|
Decoder(ShardingMetadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<OracleShardingKeyImpl> |
buildShardKeys(java.util.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 java.util.List<OracleShardingKeyImpl> buildShardKeys(java.util.List<byte[]> subKeysByteArr, boolean isSuperShardingKey, boolean isHighKey) throws java.sql.SQLException
subKeysByteArr - isSuperShardingKey - java.sql.SQLException