@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,
HStore store,
CellComparator comparator)
Create the StoreEngine's components.
|
boolean |
needsCompaction(List<HStoreFile> filesCompacting) |
create, getCompactionPolicy, getCompactor, getStoreFileManager, getStoreFlusher
public boolean needsCompaction(List<HStoreFile> 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, HStore store, CellComparator comparator) throws IOException
StoreEngine
createComponents
in class StoreEngine<StripeStoreFlusher,StripeCompactionPolicy,StripeCompactor,StripeStoreFileManager>
IOException
Copyright © 2007–2019 Cloudera. All rights reserved.