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
Modifier and TypeFieldDescriptionprivate InternalScanner
private boolean
private static final org.slf4j.Logger
Fields inherited from class org.apache.hadoop.hbase.regionserver.MemStoreSegmentsIterator
scannerContext
-
Constructor Summary
ConstructorDescriptionMemStoreCompactorSegmentsIterator
(List<ImmutableSegment> segments, CellComparator comparator, int compactionKVMax, HStore store) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
private InternalScanner
createScanner
(HStore store, List<KeyValueScanner> scanners) Creates the scanner for compacting the pipeline.boolean
hasNext()
next()
private boolean
void
remove()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
close
in 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
-