@InterfaceAudience.Private public class CellChunkImmutableSegment extends ImmutableSegment
Segment
,
and ImmutableSegment
. This immutable segment is working with CellSet with
CellChunkMap delegatee.限定符和类型 | 字段和说明 |
---|---|
static long |
DEEP_OVERHEAD_CCM |
static float |
INDEX_CHUNK_UNUSED_SPACE_PRECENTAGE |
DEEP_OVERHEAD
FIXED_OVERHEAD, memStoreSizing, minSequenceId, tagsPresent, timeRangeTracker
DUD
限定符 | 构造器和说明 |
---|---|
protected |
CellChunkImmutableSegment(CellComparator comparator,
MemStoreSegmentsIterator iterator,
MemStoreLAB memStoreLAB,
int numOfCells,
MemStoreCompactionStrategy.Action action)
------------------------------------------------------------------------
C-tor to be used when new CellChunkImmutableSegment is built as a result of compaction/merge
of a list of older ImmutableSegments.
|
protected |
CellChunkImmutableSegment(CSLMImmutableSegment segment,
MemStoreSizing memstoreSizing,
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.
|
限定符和类型 | 方法和说明 |
---|---|
protected boolean |
canBeFlattened() |
protected long |
indexEntryOffHeapSize(boolean offHeap) |
protected long |
indexEntryOnHeapSize(boolean onHeap) |
protected long |
indexEntrySize() |
getAllSegments, getNumOfSegments, getNumUniqueKeys, toString
close, compare, compareAndSetDataSize, compareRows, decScannerCount, getCellsCount, getCellSet, getComparator, getDataSize, getHeapSize, getMemStoreSize, getMinSequenceId, getOffHeapSize, getScanner, getScanners, getTimeRangeTracker, headSet, heapSizeChange, incMemStoreSize, incScannerCount, internalAdd, isEmpty, isTagsPresent, iterator, last, maybeCloneWithAllocator, offHeapSizeChange, setCellSet, sharedLock, sharedUnlock, shouldSeek, tailSet, updateMetaInfo, updateMetaInfo, waitForUpdates
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
decMemStoreSize, decMemStoreSize, incMemStoreSize
public static final long DEEP_OVERHEAD_CCM
public static final float INDEX_CHUNK_UNUSED_SPACE_PRECENTAGE
protected CellChunkImmutableSegment(CellComparator comparator, MemStoreSegmentsIterator iterator, MemStoreLAB memStoreLAB, int numOfCells, MemStoreCompactionStrategy.Action action)
protected CellChunkImmutableSegment(CSLMImmutableSegment segment, MemStoreSizing memstoreSizing, MemStoreCompactionStrategy.Action action)
protected long indexEntryOnHeapSize(boolean onHeap)
indexEntryOnHeapSize
在类中 Segment
protected long indexEntryOffHeapSize(boolean offHeap)
indexEntryOffHeapSize
在类中 Segment
protected long indexEntrySize()
indexEntrySize
在类中 Segment
protected boolean canBeFlattened()
canBeFlattened
在类中 ImmutableSegment
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.