Uses of Class
org.apache.hadoop.hbase.regionserver.Segment
-
Uses of Segment in org.apache.hadoop.hbase.regionserver
Modifier and TypeClassDescriptionclass
CellArrayImmutableSegment extends the API supported by aSegment
, andImmutableSegment
.class
CellChunkImmutableSegment extends the API supported by aSegment
, andImmutableSegment
.class
The CompositeImmutableSegments is created as a collection of ImmutableSegments and supports the interface of a single ImmutableSegments.class
CSLMImmutableSegment is an abstract class that extends the API supported by aSegment
, andImmutableSegment
.class
ImmutableSegment is an abstract class that extends the API supported by aSegment
, and is not needed for aMutableSegment
.class
A mutable segment in memstore, specifically the active segment.Modifier and TypeMethodDescriptionprivate Segment
CompactingMemStore.getLastSegment()
private Segment
SegmentScanner.getSegment()
Private MethodsCompactionPipeline.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 constructorModifier and TypeMethodDescriptionCompositeImmutableSegment.getAllSegments()
ImmutableSegment.getAllSegments()
AbstractMemStore.getSegments()
Returns an ordered list of segments from most recent to oldest in memstoreCompactingMemStore.getSegments()
CompactionPipeline.getSegments()
DefaultMemStore.getSegments()
DefaultMemStore.getSnapshotSegments()
Modifier and TypeMethodDescriptionprotected static void
AbstractMemStore.addToScanners
(Segment segment, long readPt, List<KeyValueScanner> scanners) SnapshotSegmentScanner.createIterator
(Segment segment) void
AdaptiveMemStoreCompactionStrategy.updateStats
(Segment replacement) void
MemStoreCompactionStrategy.updateStats
(Segment replacement) Modifier and TypeMethodDescriptionstatic 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 theSegment
s in suffix input parameter is same as theSegment
s inCompactionPipeline.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 theCompactionPipeline.pipeline
Lock.ModifierConstructorDescriptionprotected
CSLMImmutableSegment
(Segment segment, MemStoreSizing memstoreSizing) ------------------------------------------------------------------------ Copy C-tor to be used when new CSLMImmutableSegment is being built from a Mutable one.protected
ImmutableSegment
(Segment segment) ------------------------------------------------------------------------ Copy C-tor to be used when new CSLMImmutableSegment (derived) is being built from a Mutable one.protected
protected
SegmentScanner
(Segment segment, long readPoint) Scanners are ordered from 0 (oldest) to newest in increasing order.