@InterfaceAudience.Private public class MutableSegment extends Segment
| Modifier and Type | Field and Description |
|---|---|
static long |
DEEP_OVERHEAD |
dataSize, FIXED_OVERHEAD, heapSize, minSequenceId, 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,
MemstoreSize memstoreSize)
Adds the given cell into the segment
|
long |
getMinTimestamp() |
boolean |
shouldSeek(TimeRange tr,
long oldestUnexpiredTS) |
void |
upsert(Cell cell,
long readpoint,
MemstoreSize memstoreSize) |
close, compare, compareRows, decScannerCount, getCellsCount, getCellSet, getComparator, getFirstAfter, getMinSequenceId, getScanner, getScanner, getScanners, getTimeRangeTracker, headSet, heapSize, heapSizeChange, incScannerCount, incSize, internalAdd, isEmpty, isTagsPresent, iterator, keySize, last, maybeCloneWithAllocator, setCellSet, tailSet, toString, updateMetaInfoprotected MutableSegment(CellSet cellSet, CellComparator comparator, MemStoreLAB memStoreLAB)
public void add(Cell cell, boolean mslabUsed, MemstoreSize memstoreSize)
cell - the cell to addmslabUsed - whether using MSLABmemstoreSize - public void upsert(Cell cell, long readpoint, MemstoreSize memstoreSize)
public boolean shouldSeek(TimeRange tr, long oldestUnexpiredTS)
shouldSeek in class Segmentpublic long getMinTimestamp()
getMinTimestamp in class SegmentCopyright © 2007–2017 The Apache Software Foundation. All rights reserved.