Package org.apache.cassandra.io.sstable
Class AbstractSSTableIterator.ForwardReader
- java.lang.Object
-
- org.apache.cassandra.io.sstable.AbstractSSTableIterator.AbstractReader
-
- org.apache.cassandra.io.sstable.AbstractSSTableIterator.ForwardReader
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,java.util.Iterator<Unfiltered>
,AbstractSSTableIterator.Reader
- Enclosing class:
- AbstractSSTableIterator<RIE extends AbstractRowIndexEntry>
protected class AbstractSSTableIterator.ForwardReader extends AbstractSSTableIterator.AbstractReader
-
-
Field Summary
Fields Modifier and Type Field Description protected ClusteringBound<?>
end
protected Unfiltered
next
protected boolean
sliceDone
protected ClusteringBound<?>
start
-
Fields inherited from class org.apache.cassandra.io.sstable.AbstractSSTableIterator.AbstractReader
deserializer, file, openMarker
-
-
Constructor Summary
Constructors Constructor Description ForwardReader(FileDataInput file, boolean shouldCloseFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Unfiltered
computeNext()
protected boolean
hasNextInternal()
protected Unfiltered
nextInternal()
void
setForSlice(Slice slice)
-
Methods inherited from class org.apache.cassandra.io.sstable.AbstractSSTableIterator.AbstractReader
close, hasNext, next, seekToPosition, toString, updateOpenMarker
-
-
-
-
Field Detail
-
start
protected ClusteringBound<?> start
-
end
protected ClusteringBound<?> end
-
next
protected Unfiltered next
-
sliceDone
protected boolean sliceDone
-
-
Constructor Detail
-
ForwardReader
public ForwardReader(FileDataInput file, boolean shouldCloseFile)
-
-
Method Detail
-
setForSlice
public void setForSlice(Slice slice) throws java.io.IOException
- Specified by:
setForSlice
in interfaceAbstractSSTableIterator.Reader
- Specified by:
setForSlice
in classAbstractSSTableIterator.AbstractReader
- Throws:
java.io.IOException
-
computeNext
protected Unfiltered computeNext() throws java.io.IOException
- Throws:
java.io.IOException
-
hasNextInternal
protected boolean hasNextInternal() throws java.io.IOException
- Specified by:
hasNextInternal
in classAbstractSSTableIterator.AbstractReader
- Throws:
java.io.IOException
-
nextInternal
protected Unfiltered nextInternal() throws java.io.IOException
- Specified by:
nextInternal
in classAbstractSSTableIterator.AbstractReader
- Throws:
java.io.IOException
-
-