| 程序包 | 说明 | 
|---|---|
| org.apache.flink.api.java.functions | |
| org.apache.flink.api.java.sampling | 
| 限定符和类型 | 方法和说明 | 
|---|---|
| void | SampleInPartition. mapPartition(Iterable<T> values,
            org.apache.flink.util.Collector<IntermediateSampleData<T>> out) | 
| void | SampleInCoordinator. reduce(Iterable<IntermediateSampleData<T>> values,
      org.apache.flink.util.Collector<T> out) | 
| 限定符和类型 | 字段和说明 | 
|---|---|
| protected Iterator<IntermediateSampleData<T>> | DistributedRandomSampler. emptyIntermediateIterable | 
| 限定符和类型 | 方法和说明 | 
|---|---|
| Iterator<IntermediateSampleData<T>> | ReservoirSamplerWithoutReplacement. sampleInPartition(Iterator<T> input) | 
| Iterator<IntermediateSampleData<T>> | ReservoirSamplerWithReplacement. sampleInPartition(Iterator<T> input) | 
| abstract Iterator<IntermediateSampleData<T>> | DistributedRandomSampler. sampleInPartition(Iterator<T> input)Sample algorithm for the first phase. | 
| 限定符和类型 | 方法和说明 | 
|---|---|
| int | IntermediateSampleData. compareTo(IntermediateSampleData<T> other) | 
| 限定符和类型 | 方法和说明 | 
|---|---|
| Iterator<T> | DistributedRandomSampler. sampleInCoordinator(Iterator<IntermediateSampleData<T>> input)Sample algorithm for the second phase. | 
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.