@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, getStoreFlusherprivate 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()
StoreEnginecreateCompaction in class StoreEngine<StripeStoreFlusher,StripeCompactionPolicy,StripeCompactor,StripeStoreFileManager>protected void createComponents(org.apache.hadoop.conf.Configuration conf, HStore store, CellComparator comparator) throws IOException
StoreEnginecreateComponents in class StoreEngine<StripeStoreFlusher,StripeCompactionPolicy,StripeCompactor,StripeStoreFileManager>IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.