@InterfaceAudience.Private public class CellArrayImmutableSegment extends ImmutableSegment
Segment,
and ImmutableSegment. This immutable segment is working with CellSet with
CellArrayMap delegatee.| Modifier and Type | Field and Description |
|---|---|
static long |
DEEP_OVERHEAD_CAM |
DEEP_OVERHEADFIXED_OVERHEAD, memStoreSizing, minSequenceId, tagsPresent, timeRangeTrackerDUD| Modifier | Constructor and Description |
|---|---|
protected |
CellArrayImmutableSegment(CellComparator comparator,
MemStoreSegmentsIterator iterator,
MemStoreLAB memStoreLAB,
int numOfCells,
MemStoreCompactionStrategy.Action action)
------------------------------------------------------------------------
C-tor to be used when new CellArrayImmutableSegment is a result of compaction of a
list of older ImmutableSegments.
|
protected |
CellArrayImmutableSegment(CSLMImmutableSegment segment,
MemStoreSizing mss,
MemStoreCompactionStrategy.Action action)
------------------------------------------------------------------------
C-tor to be used when new CellChunkImmutableSegment is built as a result of flattening
of CSLMImmutableSegment
The given iterator returns the Cells that "survived" the compaction.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canBeFlattened() |
protected long |
indexEntrySize() |
private void |
initializeCellSet(int numOfCells,
MemStoreSegmentsIterator iterator,
MemStoreCompactionStrategy.Action action) |
private void |
reinitializeCellSet(int numOfCells,
KeyValueScanner segmentScanner,
CellSet oldCellSet,
MemStoreCompactionStrategy.Action action) |
getAllSegments, getNumOfSegments, getNumUniqueKeys, getSnapshotScanners, toStringclose, compare, compareAndSetDataSize, compareRows, decScannerCount, dump, getCellLength, getCellsCount, getCellSet, getComparator, getDataSize, getHeapSize, getMemStoreLAB, getMemStoreSize, getMinSequenceId, getOffHeapSize, getScanner, getScanners, getTimeRangeTracker, headSet, heapSizeChange, incMemStoreSize, incScannerCount, indexEntryOffHeapSize, indexEntryOnHeapSize, internalAdd, isEmpty, isTagsPresent, iterator, last, maybeCloneWithAllocator, offHeapSizeChange, setCellSet, sharedLock, sharedUnlock, shouldSeek, tailSet, updateMetaInfo, updateMetaInfo, waitForUpdatesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdecMemStoreSize, decMemStoreSize, incMemStoreSizepublic static final long DEEP_OVERHEAD_CAM
protected CellArrayImmutableSegment(CellComparator comparator, MemStoreSegmentsIterator iterator, MemStoreLAB memStoreLAB, int numOfCells, MemStoreCompactionStrategy.Action action)
protected CellArrayImmutableSegment(CSLMImmutableSegment segment, MemStoreSizing mss, MemStoreCompactionStrategy.Action action)
protected long indexEntrySize()
indexEntrySize in class Segmentprotected boolean canBeFlattened()
canBeFlattened in class ImmutableSegmentprivate void initializeCellSet(int numOfCells, MemStoreSegmentsIterator iterator, MemStoreCompactionStrategy.Action action)
private void reinitializeCellSet(int numOfCells, KeyValueScanner segmentScanner, CellSet oldCellSet, MemStoreCompactionStrategy.Action action)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.