org.apache.hadoop.hbase.regionserver
Class DefaultStoreEngine
java.lang.Object
org.apache.hadoop.hbase.regionserver.StoreEngine<DefaultStoreFlusher,RatioBasedCompactionPolicy,DefaultCompactor,org.apache.hadoop.hbase.regionserver.DefaultStoreFileManager>
org.apache.hadoop.hbase.regionserver.DefaultStoreEngine
@InterfaceAudience.Private
public class DefaultStoreEngine
- extends StoreEngine<DefaultStoreFlusher,RatioBasedCompactionPolicy,DefaultCompactor,org.apache.hadoop.hbase.regionserver.DefaultStoreFileManager>
Default StoreEngine creates the default compactor, policy, and store file manager, or
their derivatives.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_STORE_FLUSHER_CLASS_KEY
public static final String DEFAULT_STORE_FLUSHER_CLASS_KEY
- See Also:
- Constant Field Values
DEFAULT_COMPACTOR_CLASS_KEY
public static final String DEFAULT_COMPACTOR_CLASS_KEY
- See Also:
- Constant Field Values
DEFAULT_COMPACTION_POLICY_CLASS_KEY
public static final String DEFAULT_COMPACTION_POLICY_CLASS_KEY
- See Also:
- Constant Field Values
DefaultStoreEngine
public DefaultStoreEngine()
createComponents
protected void createComponents(org.apache.hadoop.conf.Configuration conf,
Store store,
KeyValue.KVComparator kvComparator)
throws IOException
- Description copied from class:
StoreEngine
- Create the StoreEngine's components.
- Specified by:
createComponents
in class StoreEngine<DefaultStoreFlusher,RatioBasedCompactionPolicy,DefaultCompactor,org.apache.hadoop.hbase.regionserver.DefaultStoreFileManager>
- Throws:
IOException
createCompaction
public CompactionContext createCompaction()
- Description copied from class:
StoreEngine
- Creates an instance of a compaction context specific to this engine.
Doesn't actually select or start a compaction. See CompactionContext class comment.
- Specified by:
createCompaction
in class StoreEngine<DefaultStoreFlusher,RatioBasedCompactionPolicy,DefaultCompactor,org.apache.hadoop.hbase.regionserver.DefaultStoreFileManager>
- Returns:
- New CompactionContext object.
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.