protected class LazilyCompactedRow.Reducer extends MergeIterator.Reducer<OnDiskAtom,OnDiskAtom>
Modifier and Type | Field and Description |
---|---|
int |
columns |
boolean |
hasLegacyCounterShards |
java.util.List<java.nio.ByteBuffer> |
maxColumnNameSeen |
java.util.List<java.nio.ByteBuffer> |
minColumnNameSeen |
RangeTombstone |
tombstone |
StreamingHistogram |
tombstones |
Constructor and Description |
---|
Reducer() |
Modifier and Type | Method and Description |
---|---|
protected OnDiskAtom |
getReduced()
Called after reduce() has been called for each cell sharing the same name.
|
void |
reduce(OnDiskAtom current)
Called once per version of a cell that we need to merge, after which getReduced() is called.
|
close, onKeyChange, trivialReduceIsTrivial
public RangeTombstone tombstone
public int columns
public StreamingHistogram tombstones
public java.util.List<java.nio.ByteBuffer> minColumnNameSeen
public java.util.List<java.nio.ByteBuffer> maxColumnNameSeen
public boolean hasLegacyCounterShards
public void reduce(OnDiskAtom current)
reduce
in class MergeIterator.Reducer<OnDiskAtom,OnDiskAtom>
protected OnDiskAtom getReduced()
getReduced
in class MergeIterator.Reducer<OnDiskAtom,OnDiskAtom>
Copyright © 2015 The Apache Software Foundation