public class RowAndDeletionMergeIterator extends AbstractUnfilteredRowIterator
This is used by our Partition implementations to produce a UnfilteredRowIterator by merging the rows
and deletion infos that are kept separate. This has also 2 additional role:
1) this make sure the row returned only includes the columns selected for the resulting iterator.
2) this (optionally) remove any data that can be shadowed (see commet on 'removeShadowedData' below for more details)
columns, isReverseOrder, metadata, partitionKey, partitionLevelDeletion, staticRow, stats| Constructor and Description |
|---|
RowAndDeletionMergeIterator(CFMetaData metadata,
DecoratedKey partitionKey,
DeletionTime partitionLevelDeletion,
ColumnFilter selection,
Row staticRow,
boolean isReversed,
EncodingStats stats,
java.util.Iterator<Row> rows,
java.util.Iterator<RangeTombstone> ranges,
boolean removeShadowedData) |
| Modifier and Type | Method and Description |
|---|---|
protected Unfiltered |
computeNext() |
close, columns, isReverseOrder, metadata, partitionKey, partitionLevelDeletion, staticRow, statsendOfData, hasNext, next, peek, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisEmptypublic RowAndDeletionMergeIterator(CFMetaData metadata, DecoratedKey partitionKey, DeletionTime partitionLevelDeletion, ColumnFilter selection, Row staticRow, boolean isReversed, EncodingStats stats, java.util.Iterator<Row> rows, java.util.Iterator<RangeTombstone> ranges, boolean removeShadowedData)
protected Unfiltered computeNext()
computeNext in class AbstractIterator<Unfiltered>Copyright © 2018 The Apache Software Foundation