|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.accumulo.core.iterators.WrappingIterator org.apache.accumulo.core.iterators.SkippingIterator
public abstract class SkippingIterator
Constructor Summary | |
---|---|
SkippingIterator()
|
Method Summary | |
---|---|
protected abstract void |
consume()
|
void |
next()
Advances to the next K,V pair. |
void |
seek(Range range,
java.util.Collection<ByteSequence> columnFamilies,
boolean inclusive)
An iterator must seek to the first key in the range taking inclusiveness into account. |
Methods inherited from class org.apache.accumulo.core.iterators.WrappingIterator |
---|
deepCopy, getSource, getTopKey, getTopValue, hasTop, init, setSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SkippingIterator()
Method Detail |
---|
public void next() throws java.io.IOException
SortedKeyValueIterator
next
in interface SortedKeyValueIterator<Key,Value>
next
in class WrappingIterator
java.io.IOException
- if an I/O error occurs.protected abstract void consume() throws java.io.IOException
java.io.IOException
public void seek(Range range, java.util.Collection<ByteSequence> columnFamilies, boolean inclusive) throws java.io.IOException
SortedKeyValueIterator
seek
in interface SortedKeyValueIterator<Key,Value>
seek
in class WrappingIterator
range
- Range of keys to iterate over.columnFamilies
- Collection of column families to include or exclude.inclusive
- boolean that indicates whether to include (true) or exclude (false) column families.
java.io.IOException
- if an I/O error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |