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 SummaryFieldsModifier and TypeFieldDescriptionprivate InternalScannerprivate booleanprivate static final org.slf4j.LoggerFields inherited from class org.apache.hadoop.hbase.regionserver.MemStoreSegmentsIteratorscannerContext
- 
Constructor SummaryConstructorsConstructorDescriptionMemStoreCompactorSegmentsIterator(List<ImmutableSegment> segments, CellComparator comparator, int compactionKVMax, HStore store) 
- 
Method SummaryModifier 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.IteratorforEachRemaining
- 
Field Details- 
LOG
- 
kvs
- 
hasMore
- 
kvsIterator
- 
compactingScanner
 
- 
- 
Constructor Details- 
MemStoreCompactorSegmentsIteratorpublic MemStoreCompactorSegmentsIterator(List<ImmutableSegment> segments, CellComparator comparator, int compactionKVMax, HStore store) throws IOException - Throws:
- IOException
 
 
- 
- 
Method Details- 
hasNext
- 
next
- 
close- Specified by:
- closein class- MemStoreSegmentsIterator
 
- 
remove
- 
createScannerprivate InternalScanner createScanner(HStore store, List<KeyValueScanner> scanners) throws IOException Creates the scanner for compacting the pipeline.- Returns:
- the scanner
- Throws:
- IOException
 
- 
refillKVS
 
-