public class SSTableIdentityIterator extends java.lang.Object implements java.lang.Comparable<SSTableIdentityIterator>, UnfilteredRowIterator
Modifier and Type | Field and Description |
---|---|
protected SSTableSimpleIterator |
iterator |
Constructor and Description |
---|
SSTableIdentityIterator(SSTableReader sstable,
DecoratedKey key,
DeletionTime partitionLevelDeletion,
java.lang.String filename,
SSTableSimpleIterator iterator) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
RegularAndStaticColumns |
columns()
A subset of the columns for the (static and regular) rows returned by this iterator.
|
int |
compareTo(SSTableIdentityIterator o) |
static SSTableIdentityIterator |
create(SSTableReader sstable,
FileDataInput dfile,
RowIndexEntry<?> indexEntry,
DecoratedKey key,
boolean tombstoneOnly) |
static SSTableIdentityIterator |
create(SSTableReader sstable,
RandomAccessReader file,
DecoratedKey key) |
protected Unfiltered |
doCompute() |
java.lang.String |
getPath() |
boolean |
hasNext() |
boolean |
isReverseOrder()
Whether or not the rows returned by this iterator are in reversed
clustering order.
|
TableMetadata |
metadata()
The metadata for the table this iterator on.
|
Unfiltered |
next() |
DecoratedKey |
partitionKey()
The partition key of the partition this in an iterator over.
|
DeletionTime |
partitionLevelDeletion()
The partition level deletion for the partition this iterate over.
|
Row |
staticRow()
The static part corresponding to this partition (this can be an empty
row but cannot be
null ). |
EncodingStats |
stats()
Return "statistics" about what is returned by this iterator.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isEmpty
empty, wrap
protected final SSTableSimpleIterator iterator
public SSTableIdentityIterator(SSTableReader sstable, DecoratedKey key, DeletionTime partitionLevelDeletion, java.lang.String filename, SSTableSimpleIterator iterator) throws java.io.IOException
java.io.IOException
public static SSTableIdentityIterator create(SSTableReader sstable, RandomAccessReader file, DecoratedKey key)
public static SSTableIdentityIterator create(SSTableReader sstable, FileDataInput dfile, RowIndexEntry<?> indexEntry, DecoratedKey key, boolean tombstoneOnly)
public TableMetadata metadata()
BaseRowIterator
metadata
in interface BaseRowIterator<Unfiltered>
public RegularAndStaticColumns columns()
BaseRowIterator
columns
in interface BaseRowIterator<Unfiltered>
public boolean isReverseOrder()
BaseRowIterator
isReverseOrder
in interface BaseRowIterator<Unfiltered>
public DecoratedKey partitionKey()
BaseRowIterator
partitionKey
in interface BaseRowIterator<Unfiltered>
public DeletionTime partitionLevelDeletion()
UnfilteredRowIterator
partitionLevelDeletion
in interface UnfilteredRowIterator
public Row staticRow()
BaseRowIterator
null
).staticRow
in interface BaseRowIterator<Unfiltered>
public boolean hasNext()
hasNext
in interface java.util.Iterator<Unfiltered>
public Unfiltered next()
next
in interface java.util.Iterator<Unfiltered>
protected Unfiltered doCompute()
public void close()
close
in interface java.lang.AutoCloseable
close
in interface CloseableIterator<Unfiltered>
public java.lang.String getPath()
public EncodingStats stats()
UnfilteredRowIterator
stats
in interface UnfilteredRowIterator
public int compareTo(SSTableIdentityIterator o)
compareTo
in interface java.lang.Comparable<SSTableIdentityIterator>
Copyright © 2009- The Apache Software Foundation