@InterfaceAudience.Private public class ReservoirSample<T> extends Object
Constructor and Description |
---|
ReservoirSample(int k) |
Modifier and Type | Method and Description |
---|---|
void |
add(Iterator<T> iter) |
void |
add(Stream<T> s) |
void |
add(T t) |
List<T> |
getSamplingResult() |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.