@InterfaceAudience.Private public class DateTieredStoreEngine extends StoreEngine<DefaultStoreFlusher,DateTieredCompactionPolicy,DateTieredCompactor,org.apache.hadoop.hbase.regionserver.DefaultStoreFileManager>
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,
Store store,
KeyValue.KVComparator kvComparator)
Create the StoreEngine's components.
|
boolean |
needsCompaction(List<StoreFile> filesCompacting) |
create, getCompactionPolicy, getCompactor, getStoreFileManager, getStoreFlusher
public boolean needsCompaction(List<StoreFile> filesCompacting)
needsCompaction
in class StoreEngine<DefaultStoreFlusher,DateTieredCompactionPolicy,DateTieredCompactor,org.apache.hadoop.hbase.regionserver.DefaultStoreFileManager>
filesCompacting
- Files currently compactingpublic CompactionContext createCompaction() throws IOException
StoreEngine
createCompaction
in class StoreEngine<DefaultStoreFlusher,DateTieredCompactionPolicy,DateTieredCompactor,org.apache.hadoop.hbase.regionserver.DefaultStoreFileManager>
IOException
protected void createComponents(org.apache.hadoop.conf.Configuration conf, Store store, KeyValue.KVComparator kvComparator) throws IOException
StoreEngine
createComponents
in class StoreEngine<DefaultStoreFlusher,DateTieredCompactionPolicy,DateTieredCompactor,org.apache.hadoop.hbase.regionserver.DefaultStoreFileManager>
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.