Package org.apache.cassandra.io.sstable
Class SSTableSimpleIterator
- java.lang.Object
-
- org.apache.cassandra.utils.AbstractIterator<Unfiltered>
-
- org.apache.cassandra.io.sstable.SSTableSimpleIterator
-
- All Implemented Interfaces:
com.google.common.collect.PeekingIterator<Unfiltered>
,java.lang.AutoCloseable
,java.util.Iterator<Unfiltered>
,CloseableIterator<Unfiltered>
public abstract class SSTableSimpleIterator extends AbstractIterator<Unfiltered> implements java.util.Iterator<Unfiltered>
Utility class to handle deserializing atom from sstables. Note that this is not a full fledged UnfilteredRowIterator. It's also not closeable, it is always the job of the user to close the underlying ressources.
-
-
Field Summary
Fields Modifier and Type Field Description protected DeserializationHelper
helper
protected DataInputPlus
in
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static SSTableSimpleIterator
create(TableMetadata metadata, DataInputPlus in, SerializationHeader header, DeserializationHelper helper, DeletionTime partitionDeletion)
static SSTableSimpleIterator
createTombstoneOnly(TableMetadata metadata, DataInputPlus in, SerializationHeader header, DeserializationHelper helper, DeletionTime partitionDeletion)
abstract Row
readStaticRow()
-
Methods inherited from class org.apache.cassandra.utils.AbstractIterator
close, computeNext, endOfData, hasNext, next, peek, remove
-
-
-
-
Field Detail
-
in
protected final DataInputPlus in
-
helper
protected final DeserializationHelper helper
-
-
Method Detail
-
create
public static SSTableSimpleIterator create(TableMetadata metadata, DataInputPlus in, SerializationHeader header, DeserializationHelper helper, DeletionTime partitionDeletion)
-
createTombstoneOnly
public static SSTableSimpleIterator createTombstoneOnly(TableMetadata metadata, DataInputPlus in, SerializationHeader header, DeserializationHelper helper, DeletionTime partitionDeletion)
-
readStaticRow
public abstract Row readStaticRow() throws java.io.IOException
- Throws:
java.io.IOException
-
-