@InterfaceAudience.Private public class MutableSegment extends Segment
| Modifier and Type | Field and Description |
|---|---|
static long |
DEEP_OVERHEAD |
FIXED_OVERHEAD, minSequenceId, segmentSize, tagsPresent, timeRangeTracker| Modifier | Constructor and Description |
|---|---|
protected |
MutableSegment(CellSet cellSet,
CellComparator comparator,
MemStoreLAB memStoreLAB) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Cell cell,
boolean mslabUsed,
MemStoreSizing memStoreSizing)
Adds the given cell into the segment
|
protected long |
indexEntrySize() |
void |
upsert(Cell cell,
long readpoint,
MemStoreSizing memStoreSizing) |
close, compare, compareRows, decScannerCount, getCellsCount, getCellSet, getComparator, getMemStoreSize, getMinSequenceId, getScanner, getScanner, getScanners, getTimeRangeTracker, headSet, heapSize, heapSizeChange, incScannerCount, incSize, indexEntryOffHeapSize, indexEntryOnHeapSize, internalAdd, isEmpty, isTagsPresent, iterator, keySize, last, maybeCloneWithAllocator, offHeapSize, offHeapSizeChange, setCellSet, shouldSeek, tailSet, toString, updateMetaInfo, updateMetaInfoprotected MutableSegment(CellSet cellSet, CellComparator comparator, MemStoreLAB memStoreLAB)
public void add(Cell cell, boolean mslabUsed, MemStoreSizing memStoreSizing)
cell - the cell to addmslabUsed - whether using MSLABpublic void upsert(Cell cell, long readpoint, MemStoreSizing memStoreSizing)
protected long indexEntrySize()
indexEntrySize in class SegmentCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.