Class MemStoreCompactorSegmentsIterator
java.lang.Object
org.apache.hadoop.hbase.regionserver.MemStoreSegmentsIterator
org.apache.hadoop.hbase.regionserver.MemStoreCompactorSegmentsIterator
The MemStoreCompactorSegmentsIterator extends MemStoreSegmentsIterator and performs the scan for
compaction operation meaning it is based on SQM
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate InternalScannerprivate booleanprivate static final org.slf4j.LoggerFields inherited from class org.apache.hadoop.hbase.regionserver.MemStoreSegmentsIterator
scannerContext -
Constructor Summary
ConstructorsConstructorDescriptionMemStoreCompactorSegmentsIterator(List<ImmutableSegment> segments, CellComparator comparator, int compactionKVMax, HStore store) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()private InternalScannercreateScanner(HStore store, List<KeyValueScanner> scanners) Creates the scanner for compacting the pipeline.booleanhasNext()next()private booleanvoidremove()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
LOG
-
kvs
-
hasMore
-
kvsIterator
-
compactingScanner
-
-
Constructor Details
-
MemStoreCompactorSegmentsIterator
public MemStoreCompactorSegmentsIterator(List<ImmutableSegment> segments, CellComparator comparator, int compactionKVMax, HStore store) throws IOException - Throws:
IOException
-
-
Method Details
-
hasNext
-
next
-
close
- Specified by:
closein classMemStoreSegmentsIterator
-
remove
-
createScanner
private InternalScanner createScanner(HStore store, List<KeyValueScanner> scanners) throws IOException Creates the scanner for compacting the pipeline.- Returns:
- the scanner
- Throws:
IOException
-
refillKVS
-