@InterfaceAudience.Private public abstract class ImmutableSegment extends Segment
Segment,
 and is not needed for a MutableSegment.| Modifier and Type | Field and Description | 
|---|---|
static long | 
DEEP_OVERHEAD  | 
FIXED_OVERHEAD, memStoreSizing, minSequenceId, tagsPresent, timeRangeTrackerDUD| Modifier | Constructor and Description | 
|---|---|
protected  | 
ImmutableSegment(CellComparator comparator)
------------------------------------------------------------------------
 Empty C-tor to be used only for CompositeImmutableSegment 
 | 
protected  | 
ImmutableSegment(CellComparator comparator,
                List<ImmutableSegment> segments)  | 
protected  | 
ImmutableSegment(CellSet cs,
                CellComparator comparator,
                MemStoreLAB memStoreLAB)
------------------------------------------------------------------------
 C-tor to be used to build the derived classes 
 | 
protected  | 
ImmutableSegment(Segment segment)
------------------------------------------------------------------------
 Copy C-tor to be used when new CSLMImmutableSegment (derived) is being built from a Mutable one. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected abstract boolean | 
canBeFlattened()  | 
List<Segment> | 
getAllSegments()  | 
int | 
getNumOfSegments()  | 
int | 
getNumUniqueKeys()  | 
(package private) List<KeyValueScanner> | 
getSnapshotScanners()  | 
String | 
toString()  | 
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, indexEntrySize, internalAdd, isEmpty, isTagsPresent, iterator, last, maybeCloneWithAllocator, offHeapSizeChange, setCellSet, shouldSeek, tailSet, updateMetaInfo, updateMetaInfoclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdecMemStoreSize, decMemStoreSize, incMemStoreSizepublic static final long DEEP_OVERHEAD
protected ImmutableSegment(CellComparator comparator)
protected ImmutableSegment(CellComparator comparator, List<ImmutableSegment> segments)
protected ImmutableSegment(CellSet cs, CellComparator comparator, MemStoreLAB memStoreLAB)
protected ImmutableSegment(Segment segment)
protected abstract boolean canBeFlattened()
public int getNumUniqueKeys()
public int getNumOfSegments()
public List<Segment> getAllSegments()
List<KeyValueScanner> getSnapshotScanners()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.