@InterfaceAudience.LimitedPrivate(value="Configuration") public class StripeStoreEngine extends StoreEngine<StripeStoreFlusher,StripeCompactionPolicy,StripeCompactor,StripeStoreFileManager>
compactionPolicy, compactor, STORE_ENGINE_CLASS_KEY, storeFileManager, storeFlusher
Constructor and Description |
---|
StripeStoreEngine() |
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 comparator)
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<StripeStoreFlusher,StripeCompactionPolicy,StripeCompactor,StripeStoreFileManager>
filesCompacting
- Files currently compactingpublic CompactionContext createCompaction()
StoreEngine
createCompaction
in class StoreEngine<StripeStoreFlusher,StripeCompactionPolicy,StripeCompactor,StripeStoreFileManager>
protected void createComponents(org.apache.hadoop.conf.Configuration conf, Store store, KeyValue.KVComparator comparator) throws IOException
StoreEngine
createComponents
in class StoreEngine<StripeStoreFlusher,StripeCompactionPolicy,StripeCompactor,StripeStoreFileManager>
IOException
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.