@InterfaceAudience.Private public class MutableSegment extends Segment
Modifier and Type | Field and Description |
---|---|
static long |
DEEP_OVERHEAD |
FIXED_OVERHEAD, memStoreSizing, minSequenceId, tagsPresent, timeRangeTracker
DUD
Modifier | Constructor and Description |
---|---|
protected |
MutableSegment(CellSet cellSet,
CellComparator comparator,
MemStoreLAB memStoreLAB,
MemStoreSizing memstoreSizing) |
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, getDataSize, getHeapSize, getMemStoreSize, getMinSequenceId, getOffHeapSize, getScanner, getScanners, getTimeRangeTracker, headSet, heapSizeChange, incMemStoreSize, incScannerCount, indexEntryOffHeapSize, indexEntryOnHeapSize, internalAdd, isEmpty, isTagsPresent, iterator, last, maybeCloneWithAllocator, offHeapSizeChange, setCellSet, shouldSeek, tailSet, toString, updateMetaInfo, updateMetaInfo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
decMemStoreSize, decMemStoreSize, incMemStoreSize
protected MutableSegment(CellSet cellSet, CellComparator comparator, MemStoreLAB memStoreLAB, MemStoreSizing memstoreSizing)
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 Segment
Copyright © 2007–2019 Cloudera. All rights reserved.