org.apache.hadoop.hbase.regionserver
Class DefaultStoreEngine

java.lang.Object
  extended by org.apache.hadoop.hbase.regionserver.StoreEngine<DefaultCompactionPolicy,DefaultCompactor,org.apache.hadoop.hbase.regionserver.DefaultStoreFileManager>
      extended by org.apache.hadoop.hbase.regionserver.DefaultStoreEngine

@InterfaceAudience.Private
public class DefaultStoreEngine
extends StoreEngine<DefaultCompactionPolicy,DefaultCompactor,org.apache.hadoop.hbase.regionserver.DefaultStoreFileManager>

Default StoreEngine creates the default compactor, policy, and store file manager, or their derivatives.


Field Summary
static String DEFAULT_COMPACTION_POLICY_CLASS_KEY
           
static String DEFAULT_COMPACTOR_CLASS_KEY
           
 
Fields inherited from class org.apache.hadoop.hbase.regionserver.StoreEngine
compactionPolicy, compactor, STORE_ENGINE_CLASS_KEY, storeFileManager
 
Constructor Summary
DefaultStoreEngine()
           
 
Method Summary
 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 kvComparator)
          Create the StoreEngine's components.
 
Methods inherited from class org.apache.hadoop.hbase.regionserver.StoreEngine
create, getCompactionPolicy, getCompactor, getStoreFileManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

DefaultStoreEngine

public DefaultStoreEngine()
Method Detail

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<DefaultCompactionPolicy,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<DefaultCompactionPolicy,DefaultCompactor,org.apache.hadoop.hbase.regionserver.DefaultStoreFileManager>
Returns:
New CompactionContext object.


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.