public class SampleIterator extends Filter
OptionDescriber.IteratorOptions
Constructor and Description |
---|
SampleIterator(SortedKeyValueIterator<Key,Value> iter,
Sampler sampler) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Key k,
Value v) |
SortedKeyValueIterator<Key,Value> |
deepCopy(IteratorEnvironment env)
Creates a deep copy of this iterator as though seek had not yet been called.
|
describeOptions, findTop, init, next, seek, setNegate, validateOptions
getSource, getTopKey, getTopValue, hasTop, setSource
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
enableYielding
public SampleIterator(SortedKeyValueIterator<Key,Value> iter, Sampler sampler)
public SortedKeyValueIterator<Key,Value> deepCopy(IteratorEnvironment env)
SortedKeyValueIterator
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.