|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface ShardedJoinStrategy.ShardingStrategy<K>
Determines over how many shards a key will be split in a sharded join.
It is essential that implementations of this class are deterministic.
Method Summary | |
---|---|
int |
getNumShards(K key)
Retrieve the number of shards over which the given key should be split. |
Method Detail |
---|
int getNumShards(K key)
key
- key for which shards are to be determined
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |