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() |
PartitionColumns |
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.
|
CFMetaData |
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, waitisEmptyprotected final SSTableSimpleIterator iterator
public SSTableIdentityIterator(SSTableReader sstable, DecoratedKey key, DeletionTime partitionLevelDeletion, java.lang.String filename, SSTableSimpleIterator iterator) throws java.io.IOException
java.io.IOExceptionpublic static SSTableIdentityIterator create(SSTableReader sstable, RandomAccessReader file, DecoratedKey key)
public static SSTableIdentityIterator create(SSTableReader sstable, FileDataInput dfile, RowIndexEntry<?> indexEntry, DecoratedKey key, boolean tombstoneOnly)
public CFMetaData metadata()
BaseRowIteratormetadata in interface BaseRowIterator<Unfiltered>public PartitionColumns columns()
BaseRowIteratorcolumns in interface BaseRowIterator<Unfiltered>public boolean isReverseOrder()
BaseRowIteratorisReverseOrder in interface BaseRowIterator<Unfiltered>public DecoratedKey partitionKey()
BaseRowIteratorpartitionKey in interface BaseRowIterator<Unfiltered>public DeletionTime partitionLevelDeletion()
UnfilteredRowIteratorpartitionLevelDeletion in interface UnfilteredRowIteratorpublic Row staticRow()
BaseRowIteratornull).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.AutoCloseableclose in interface CloseableIterator<Unfiltered>public java.lang.String getPath()
public EncodingStats stats()
UnfilteredRowIteratorstats in interface UnfilteredRowIteratorpublic int compareTo(SSTableIdentityIterator o)
compareTo in interface java.lang.Comparable<SSTableIdentityIterator>Copyright © 2018 The Apache Software Foundation