public class LazilyCompactedRow extends AbstractCompactedRow
Modifier and Type | Class and Description |
---|---|
protected class |
LazilyCompactedRow.Reducer |
Modifier and Type | Field and Description |
---|---|
protected boolean |
closed |
protected ColumnStats |
columnStats |
protected CompactionController |
controller |
protected ColumnFamily |
emptyColumnFamily |
protected boolean |
hasCalculatedMaxPurgeableTimestamp |
protected ColumnIndex.Builder |
indexBuilder |
protected SecondaryIndexManager.Updater |
indexer |
protected long |
maxPurgeableTimestamp |
protected DeletionTime |
maxRowTombstone |
protected java.util.Iterator<OnDiskAtom> |
merger |
protected LazilyCompactedRow.Reducer |
reducer |
protected java.util.List<? extends OnDiskAtomIterator> |
rows |
key
Constructor and Description |
---|
LazilyCompactedRow(CompactionController controller,
java.util.List<? extends OnDiskAtomIterator> rows) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
ColumnStats |
columnStats() |
void |
update(java.security.MessageDigest digest)
update @param digest with the data bytes of the row (not including row key or row size).
|
RowIndexEntry |
write(long currentPosition,
SequentialWriter dataFile)
write the row (size + column index + filter + column data, but NOT row key) to @param out.
|
protected final java.util.List<? extends OnDiskAtomIterator> rows
protected final CompactionController controller
protected boolean hasCalculatedMaxPurgeableTimestamp
protected long maxPurgeableTimestamp
protected final ColumnFamily emptyColumnFamily
protected ColumnStats columnStats
protected boolean closed
protected ColumnIndex.Builder indexBuilder
protected final SecondaryIndexManager.Updater indexer
protected final LazilyCompactedRow.Reducer reducer
protected final java.util.Iterator<OnDiskAtom> merger
protected DeletionTime maxRowTombstone
public LazilyCompactedRow(CompactionController controller, java.util.List<? extends OnDiskAtomIterator> rows)
public RowIndexEntry write(long currentPosition, SequentialWriter dataFile) throws java.io.IOException
AbstractCompactedRow
write
in class AbstractCompactedRow
java.io.IOException
public void update(java.security.MessageDigest digest)
AbstractCompactedRow
update
in class AbstractCompactedRow
public ColumnStats columnStats()
columnStats
in class AbstractCompactedRow
public void close()
Copyright © 2015 The Apache Software Foundation