@InterfaceAudience.Private public abstract class AbstractMultiOutputCompactor<T extends AbstractMultiFileWriter> extends Compactor<T>
Compactor.CellSinkFactory<S>, Compactor.FileDetails, Compactor.InternalScannerFactory
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOG |
COMPACTION_PROGRESS_LOG_INTERVAL, compactionCompression, compactionKVMax, conf, defaultScannerFactory, keepSeqIdPeriod, MAJOR_COMPACTION_DROP_CACHE, MINOR_COMPACTION_DROP_CACHE, progress, store
Constructor and Description |
---|
AbstractMultiOutputCompactor(org.apache.hadoop.conf.Configuration conf,
HStore store) |
Modifier and Type | Method and Description |
---|---|
protected void |
abortWriter(T writer) |
protected void |
initMultiWriter(AbstractMultiFileWriter writer,
InternalScanner scanner,
Compactor.FileDetails fd,
boolean shouldDropBehind) |
commitWriter, compact, createScanner, createScanner, createTmpWriter, getProgress, performCompaction
private static final org.slf4j.Logger LOG
public AbstractMultiOutputCompactor(org.apache.hadoop.conf.Configuration conf, HStore store)
protected void initMultiWriter(AbstractMultiFileWriter writer, InternalScanner scanner, Compactor.FileDetails fd, boolean shouldDropBehind)
protected void abortWriter(T writer) throws IOException
abortWriter
in class Compactor<T extends AbstractMultiFileWriter>
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.