public class SSTableIdentityIterator extends com.google.common.collect.AbstractIterator<Unfiltered> implements java.lang.Comparable<SSTableIdentityIterator>, UnfilteredRowIterator
| Constructor and Description |
|---|
SSTableIdentityIterator(SSTableReader sstable,
RandomAccessReader file,
DecoratedKey key)
Used to iterate through the columns of a row.
|
| 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) |
protected Unfiltered |
computeNext() |
java.lang.String |
getPath() |
boolean |
isReverseOrder()
Whether or not the atom returned by this iterator are in reversed
clustering order.
|
CFMetaData |
metadata()
The metadata for the table this iterator on.
|
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).
|
EncodingStats |
stats()
Return "statistics" about what is returned by this iterator.
|
endOfData, hasNext, next, peekclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisEmptypublic SSTableIdentityIterator(SSTableReader sstable, RandomAccessReader file, DecoratedKey key)
sstable - SSTable we are reading ffrom.file - Reading using this file.key - Key of this row.public CFMetaData metadata()
UnfilteredRowIteratormetadata in interface UnfilteredRowIteratorpublic PartitionColumns columns()
UnfilteredRowIteratorcolumns in interface UnfilteredRowIteratorpublic boolean isReverseOrder()
UnfilteredRowIteratorisReverseOrder in interface UnfilteredRowIteratorpublic DecoratedKey partitionKey()
UnfilteredRowIteratorpartitionKey in interface UnfilteredRowIteratorpublic DeletionTime partitionLevelDeletion()
UnfilteredRowIteratorpartitionLevelDeletion in interface UnfilteredRowIteratorpublic Row staticRow()
UnfilteredRowIteratorstaticRow in interface UnfilteredRowIteratorprotected Unfiltered computeNext()
computeNext in class com.google.common.collect.AbstractIterator<Unfiltered>public void close()
close in interface java.lang.AutoCloseableclose in interface UnfilteredRowIteratorpublic java.lang.String getPath()
public EncodingStats stats()
UnfilteredRowIteratorstats in interface UnfilteredRowIteratorpublic int compareTo(SSTableIdentityIterator o)
compareTo in interface java.lang.Comparable<SSTableIdentityIterator>Copyright © 2015 The Apache Software Foundation