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,
java.util.List<ImmutableSegment> segments) |
protected |
ImmutableSegment(CellSet cs,
CellComparator comparator,
MemStoreLAB memStoreLAB)
------------------------------------------------------------------------
C-tor to be used to build the derived classes
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
canBeFlattened() |
java.util.List<Segment> |
getAllSegments() |
int |
getNumOfSegments() |
int |
getNumUniqueKeys() |
java.lang.String |
toString() |
close, compare, compareRows, decScannerCount, getCellsCount, getCellSet, getComparator, getDataSize, getHeapSize, 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, incMemStoreSizeprotected ImmutableSegment(CellComparator comparator)
protected ImmutableSegment(CellComparator comparator,
java.util.List<ImmutableSegment> segments)
protected ImmutableSegment(CellSet cs, CellComparator comparator, MemStoreLAB memStoreLAB)
protected abstract boolean canBeFlattened()
public int getNumUniqueKeys()
public int getNumOfSegments()
public java.util.List<Segment> getAllSegments()