public interface ShardingFunction<UserT,DestinationT>
extends java.io.Serializable
ShardedKeys to input elements for sharded WriteFiles.| Modifier and Type | Method and Description | 
|---|---|
| ShardedKey<java.lang.Integer> | assignShardKey(DestinationT destination,
              UserT element,
              int shardCount) | 
ShardedKey<java.lang.Integer> assignShardKey(DestinationT destination, UserT element, int shardCount) throws java.lang.Exception
java.lang.Exception