public class OracleShardingKeyBuilderImpl extends Object implements OracleShardingKeyBuilder
| Constructor and Description |
|---|
OracleShardingKeyBuilderImpl() |
| Modifier and Type | Method and Description |
|---|---|
OracleShardingKeyImpl |
build()
Builds the sharding key with the sub keys provided and their default metadata.
|
OracleShardingKeyBuilderImpl |
oraHash(long oraHash)
Used to build the shard key with the known ORA HASH value.
|
OracleShardingKeyBuilderImpl |
subkey(Object subkey, SQLType subkeyType)
This method is called to include a subkey into a sharding key object being built.
|
public OracleShardingKeyBuilderImpl subkey(Object subkey, SQLType subkeyType)
subkey in interface OracleShardingKeyBuildersubkey - contains the object that needs to be part of sharding sub keysubkeyType - sub-key data type which can be specified using one of the types from java.sql.JDBCType or oracle.jdbc.OracleTypeOracleShardingKeyBuilder.subkey(java.lang.Object, java.sql.SQLType)public OracleShardingKeyBuilderImpl oraHash(long oraHash)
oraHash - the known ORA HASH value for the shard key that is being built.public OracleShardingKeyImpl build()
build in interface OracleShardingKeyBuilderOracleShardingKeyBuilder.build()