Package | Description |
---|---|
org.apache.flink.api.java.functions | |
org.apache.flink.api.java.sampling |
Modifier and Type | Method and Description |
---|---|
void |
SampleInPartition.mapPartition(Iterable<T> values,
Collector<IntermediateSampleData<T>> out) |
void |
SampleInCoordinator.reduce(Iterable<IntermediateSampleData<T>> values,
Collector<T> out) |
Modifier and Type | Field and Description |
---|---|
protected Iterator<IntermediateSampleData<T>> |
DistributedRandomSampler.EMPTY_INTERMEDIATE_ITERABLE |
Modifier and Type | Method and Description |
---|---|
Iterator<IntermediateSampleData<T>> |
ReservoirSamplerWithoutReplacement.sampleInPartition(Iterator<T> input) |
abstract Iterator<IntermediateSampleData<T>> |
DistributedRandomSampler.sampleInPartition(Iterator<T> input)
Sample algorithm for the first phase.
|
Iterator<IntermediateSampleData<T>> |
ReservoirSamplerWithReplacement.sampleInPartition(Iterator<T> input) |
Modifier and Type | Method and Description |
---|---|
int |
IntermediateSampleData.compareTo(IntermediateSampleData<T> other) |
Modifier and Type | Method and Description |
---|---|
Iterator<T> |
DistributedRandomSampler.sampleInCoordinator(Iterator<IntermediateSampleData<T>> input)
Sample algorithm for the second phase.
|
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.