protected abstract class AbstractSSTableIterator.Reader extends java.lang.Object implements java.util.Iterator<Unfiltered>
Modifier and Type | Field and Description |
---|---|
protected UnfilteredDeserializer |
deserializer |
FileDataInput |
file |
protected DeletionTime |
openMarker |
Modifier | Constructor and Description |
---|---|
protected |
Reader(FileDataInput file,
boolean shouldCloseFile) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
hasNext() |
protected abstract boolean |
hasNextInternal() |
Unfiltered |
next() |
protected abstract Unfiltered |
nextInternal() |
protected void |
seekToPosition(long position) |
abstract void |
setForSlice(Slice slice) |
protected void |
updateOpenMarker(RangeTombstoneMarker marker) |
public FileDataInput file
protected UnfilteredDeserializer deserializer
protected DeletionTime openMarker
protected Reader(FileDataInput file, boolean shouldCloseFile)
protected void seekToPosition(long position) throws java.io.IOException
java.io.IOException
protected void updateOpenMarker(RangeTombstoneMarker marker)
public boolean hasNext()
hasNext
in interface java.util.Iterator<Unfiltered>
public Unfiltered next()
next
in interface java.util.Iterator<Unfiltered>
public abstract void setForSlice(Slice slice) throws java.io.IOException
java.io.IOException
protected abstract boolean hasNextInternal() throws java.io.IOException
java.io.IOException
protected abstract Unfiltered nextInternal() throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
Copyright © 2009- The Apache Software Foundation