Package | Description |
---|---|
org.apache.hadoop.hbase.regionserver |
Modifier and Type | Class and Description |
---|---|
class |
CellArrayImmutableSegment
CellArrayImmutableSegment extends the API supported by a
Segment , and
ImmutableSegment . |
class |
CellChunkImmutableSegment
CellChunkImmutableSegment extends the API supported by a
Segment , and
ImmutableSegment . |
class |
CompositeImmutableSegment
The CompositeImmutableSegments is created as a collection of ImmutableSegments and supports the
interface of a single ImmutableSegments.
|
class |
CSLMImmutableSegment
CSLMImmutableSegment is an abstract class that extends the API supported by a
Segment ,
and ImmutableSegment . |
class |
ImmutableSegment
ImmutableSegment is an abstract class that extends the API supported by a
Segment , and is
not needed for a MutableSegment . |
class |
MutableSegment
A mutable segment in memstore, specifically the active segment.
|
Modifier and Type | Field and Description |
---|---|
protected Segment |
SegmentScanner.segment |
Modifier and Type | Method and Description |
---|---|
private Segment |
CompactingMemStore.getLastSegment() |
private Segment |
SegmentScanner.getSegment()
Private Methods
|
Segment |
CompactionPipeline.getTail() |
protected Segment |
Segment.setCellSet(CellSet cellSetOld,
CellSet cellSetNew)
Setting the CellSet of the segment - used only for flat immutable segment for setting immutable
CellSet after its creation in immutable segment constructor
|
Modifier and Type | Method and Description |
---|---|
List<Segment> |
CompositeImmutableSegment.getAllSegments() |
List<Segment> |
ImmutableSegment.getAllSegments() |
protected List<Segment> |
CompactingMemStore.getSegments() |
protected List<Segment> |
DefaultMemStore.getSegments() |
protected abstract List<Segment> |
AbstractMemStore.getSegments()
Returns an ordered list of segments from most recent to oldest in memstore
|
List<? extends Segment> |
CompactionPipeline.getSegments() |
protected List<Segment> |
DefaultMemStore.getSnapshotSegments() |
Modifier and Type | Method and Description |
---|---|
protected static void |
AbstractMemStore.addToScanners(Segment segment,
long readPt,
List<KeyValueScanner> scanners) |
private static Iterator<Cell> |
SnapshotSegmentScanner.createIterator(Segment segment) |
void |
MemStoreCompactionStrategy.updateStats(Segment replacement) |
void |
AdaptiveMemStoreCompactionStrategy.updateStats(Segment replacement) |
Modifier and Type | Method and Description |
---|---|
static void |
AbstractMemStore.addToScanners(List<? extends Segment> segments,
long readPt,
List<KeyValueScanner> scanners) |
private static int |
CompactionPipeline.getSegmentsCellsCount(List<? extends Segment> list) |
private static long |
CompactionPipeline.getSegmentsHeapSize(List<? extends Segment> list) |
private static long |
CompactionPipeline.getSegmentsKeySize(List<? extends Segment> list) |
private static long |
CompactionPipeline.getSegmentsOffHeapSize(List<? extends Segment> list) |
private void |
CompactionPipeline.matchAndRemoveSuffixFromPipeline(List<? extends Segment> suffix)
Checking that the
Segment s in suffix input parameter is same as the Segment s in
CompactionPipeline.pipeline one by one from the last element to the first element of
suffix. |
private void |
CompactionPipeline.swapSuffix(List<? extends Segment> suffix,
ImmutableSegment segment,
boolean closeSegmentsInSuffix)
Must be called under the
CompactionPipeline.pipeline Lock. |
Constructor and Description |
---|
CSLMImmutableSegment(Segment segment,
MemStoreSizing memstoreSizing)
------------------------------------------------------------------------ Copy C-tor to be used
when new CSLMImmutableSegment is being built from a Mutable one.
|
ImmutableSegment(Segment segment)
------------------------------------------------------------------------ Copy C-tor to be used
when new CSLMImmutableSegment (derived) is being built from a Mutable one.
|
Segment(Segment segment) |
SegmentScanner(Segment segment,
long readPoint)
Scanners are ordered from 0 (oldest) to newest in increasing order.
|
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.