@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
|
(package private) Cell |
first()
Returns the first cell in the segment
|
protected long |
indexEntrySize() |
void |
upsert(Cell cell,
long readpoint,
MemStoreSizing memStoreSizing) |
close, compare, compareRows, decScannerCount, dump, getCellLength, getCellsCount, getCellSet, getComparator, getDataSize, getHeapSize, getMemStoreLAB, getMemStoreSize, getMinSequenceId, getOffHeapSize, getScanner, 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
public static final long DEEP_OVERHEAD
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 The Apache Software Foundation. All rights reserved.