@InterfaceAudience.Private public class DateTieredStoreEngine extends StoreEngine<DefaultStoreFlusher,DateTieredCompactionPolicy,DateTieredCompactor,DefaultStoreFileManager>
Modifier and Type | Class and Description |
---|---|
private class |
DateTieredStoreEngine.DateTieredCompactionContext |
StoreEngine.IOExceptionRunnable
compactionPolicy, compactor, STORE_ENGINE_CLASS_KEY, storeFileManager, storeFlusher
Constructor and Description |
---|
DateTieredStoreEngine() |
Modifier and Type | Method and Description |
---|---|
CompactionContext |
createCompaction()
Creates an instance of a compaction context specific to this engine.
|
protected void |
createComponents(org.apache.hadoop.conf.Configuration conf,
HStore store,
CellComparator kvComparator)
Create the StoreEngine's components.
|
boolean |
needsCompaction(List<HStoreFile> filesCompacting) |
addStoreFiles, commitStoreFiles, create, createComponentsOnce, createStoreFileAndReader, createStoreFileAndReader, createWriter, getBloomFilterMetrics, getCompactionPolicy, getCompactor, getLock, getStoreFileManager, getStoreFlusher, initialize, readLock, readUnlock, refreshStoreFiles, refreshStoreFiles, removeCompactedFiles, replaceStoreFiles, requireWritingToTmpDirFirst, validateStoreFile, writeLock, writeUnlock
public DateTieredStoreEngine()
public boolean needsCompaction(List<HStoreFile> filesCompacting)
needsCompaction
in class StoreEngine<DefaultStoreFlusher,DateTieredCompactionPolicy,DateTieredCompactor,DefaultStoreFileManager>
filesCompacting
- Files currently compactingpublic CompactionContext createCompaction() throws IOException
StoreEngine
createCompaction
in class StoreEngine<DefaultStoreFlusher,DateTieredCompactionPolicy,DateTieredCompactor,DefaultStoreFileManager>
IOException
protected void createComponents(org.apache.hadoop.conf.Configuration conf, HStore store, CellComparator kvComparator) throws IOException
StoreEngine
createComponents
in class StoreEngine<DefaultStoreFlusher,DateTieredCompactionPolicy,DateTieredCompactor,DefaultStoreFileManager>
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.