public static interface ShardedJoinStrategy.ShardingStrategy<K> extends Serializable
It is essential that implementations of this class are deterministic.
Modifier and Type | Method and Description |
---|---|
int |
getNumShards(K key)
Retrieve the number of shards over which the given key should be split.
|
int getNumShards(K key)
key
- key for which shards are to be determinedCopyright © 2016 The Apache Software Foundation. All rights reserved.