public class SimpleKVReusingIterator extends Object implements SortedKeyValueIterator<Key,Value>
| Constructor and Description |
|---|
SimpleKVReusingIterator(SortedKeyValueIterator<Key,Value> source) |
| Modifier and Type | Method and Description |
|---|---|
SortedKeyValueIterator<Key,Value> |
deepCopy(IteratorEnvironment env) |
Key |
getTopKey() |
Value |
getTopValue() |
boolean |
hasTop() |
void |
init(SortedKeyValueIterator<Key,Value> source,
Map<String,String> options,
IteratorEnvironment env) |
void |
next() |
void |
seek(Range range,
Collection<ByteSequence> columnFamilies,
boolean inclusive) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenableYieldingpublic SimpleKVReusingIterator(SortedKeyValueIterator<Key,Value> source)
public void init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options, IteratorEnvironment env) throws IOException
init in interface SortedKeyValueIterator<Key,Value>IOExceptionpublic boolean hasTop()
hasTop in interface SortedKeyValueIterator<Key,Value>public void next()
throws IOException
next in interface SortedKeyValueIterator<Key,Value>IOExceptionpublic void seek(Range range, Collection<ByteSequence> columnFamilies, boolean inclusive) throws IOException
seek in interface SortedKeyValueIterator<Key,Value>IOExceptionpublic Key getTopKey()
getTopKey in interface SortedKeyValueIterator<Key,Value>public Value getTopValue()
getTopValue in interface SortedKeyValueIterator<Key,Value>public SortedKeyValueIterator<Key,Value> deepCopy(IteratorEnvironment env)
deepCopy in interface SortedKeyValueIterator<Key,Value>Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.