public class Splitter extends Object
| Constructor and Description |
|---|
Splitter() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getBucket(String key,
int seed,
int algo)
Returns a bucket between 1 and 100, inclusive.
|
static String |
getTreatment(String key,
int seed,
List<Partition> partitions,
int algo) |
public static String getTreatment(String key, int seed, List<Partition> partitions, int algo)
public static int getBucket(String key, int seed, int algo)
key - seed - Copyright © 2018. All rights reserved.