@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, minSequenceId, segmentSize, tagsPresent, timeRangeTracker| 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, getMemStoreSize, getMinSequenceId, getScanner, getScanner, getScanners, getTimeRangeTracker, headSet, heapSize, heapSizeChange, incScannerCount, incSize, indexEntryOffHeapSize, indexEntryOnHeapSize, indexEntrySize, internalAdd, isEmpty, isTagsPresent, iterator, keySize, last, maybeCloneWithAllocator, offHeapSize, offHeapSizeChange, setCellSet, shouldSeek, tailSet, updateMetaInfo, updateMetaInfoprotected ImmutableSegment(CellComparator comparator)
protected ImmutableSegment(CellComparator comparator, List<ImmutableSegment> segments)
protected ImmutableSegment(CellSet cs, CellComparator comparator, MemStoreLAB memStoreLAB)
protected ImmutableSegment(Segment segment)
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.