|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.crunch.lib.Sample
public class Sample
| Nested Class Summary | |
|---|---|
static class |
Sample.SamplerFn<S>
|
| Constructor Summary | |
|---|---|
Sample()
|
|
| Method Summary | ||
|---|---|---|
static
|
sample(PCollection<S> input,
double probability)
|
|
static
|
sample(PCollection<S> input,
long seed,
double probability)
|
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Sample()
| Method Detail |
|---|
public static <S> PCollection<S> sample(PCollection<S> input,
double probability)
public static <S> PCollection<S> sample(PCollection<S> input,
long seed,
double probability)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||