@InterfaceAudience.LimitedPrivate(value="Configuration") public class StripeStoreEngine extends StoreEngine<StripeStoreFlusher,StripeCompactionPolicy,StripeCompactor,StripeStoreFileManager>
Modifier and Type | Class and Description |
---|---|
private class |
StripeStoreEngine.StripeCompaction
Represents one instance of stripe compaction, with the necessary context and flow.
|
Modifier and Type | Field and Description |
---|---|
private StripeStoreConfig |
config |
private static org.slf4j.Logger |
LOG |
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
private static final org.slf4j.Logger LOG
private StripeStoreConfig config
public StripeStoreEngine()
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 The Apache Software Foundation. All rights reserved.