@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, timeRangeTracker
DUD
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() |
String |
toString() |
close, compare, compareRows, decScannerCount, getCellsCount, getCellSet, getComparator, getDataSize, getHeapSize, getMemStoreSize, getMinSequenceId, getOffHeapSize, getScanner, getScanners, getTimeRangeTracker, headSet, heapSizeChange, incMemStoreSize, incScannerCount, indexEntryOffHeapSize, indexEntryOnHeapSize, indexEntrySize, internalAdd, isEmpty, isTagsPresent, iterator, last, maybeCloneWithAllocator, offHeapSizeChange, setCellSet, shouldSeek, tailSet, updateMetaInfo, updateMetaInfo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
decMemStoreSize, decMemStoreSize, incMemStoreSize
protected ImmutableSegment(CellComparator comparator)
protected ImmutableSegment(CellComparator comparator, List<ImmutableSegment> segments)
protected ImmutableSegment(CellSet cs, CellComparator comparator, MemStoreLAB memStoreLAB)
protected ImmutableSegment(Segment segment)
Copyright © 2007–2019 Cloudera. All rights reserved.