Compaction configuration for a particular instance of HStore.
Takes into account both global settings and ones set on the column family/store.
Control knobs for default compaction algorithm:
"
HBASE_HSTORE_MIN_LOCALITY_TO_SKIP_MAJOR_COMPACT
public static final String HBASE_HSTORE_MIN_LOCALITY_TO_SKIP_MAJOR_COMPACT
- See Also:
- Constant Field Values
RATIO_KEY
public static final String RATIO_KEY
- See Also:
- Constant Field Values
MIN_KEY
public static final String MIN_KEY
- See Also:
- Constant Field Values
MAX_KEY
public static final String MAX_KEY
- See Also:
- Constant Field Values
DATE_TIERED_MAX_AGE_MILLIS_KEY
public static final String DATE_TIERED_MAX_AGE_MILLIS_KEY
- See Also:
- Constant Field Values
DATE_TIERED_INCOMING_WINDOW_MIN_KEY
public static final String DATE_TIERED_INCOMING_WINDOW_MIN_KEY
- See Also:
- Constant Field Values
COMPACTION_POLICY_CLASS_FOR_DATE_TIERED_WINDOWS_KEY
public static final String COMPACTION_POLICY_CLASS_FOR_DATE_TIERED_WINDOWS_KEY
- See Also:
- Constant Field Values
DATE_TIERED_SINGLE_OUTPUT_FOR_MINOR_COMPACTION_KEY
public static final String DATE_TIERED_SINGLE_OUTPUT_FOR_MINOR_COMPACTION_KEY
- See Also:
- Constant Field Values
DATE_TIERED_COMPACTION_WINDOW_FACTORY_CLASS_KEY
public static final String DATE_TIERED_COMPACTION_WINDOW_FACTORY_CLASS_KEY
- See Also:
- Constant Field Values
toString
public String toString()
- Overrides:
toString
in class Object
getMinFilesToCompact
public int getMinFilesToCompact()
- Returns:
- upper bound on number of files to be included in minor compactions
setMinFilesToCompact
public void setMinFilesToCompact(int threshold)
- Set upper bound on number of files to be included in minor compactions
- Parameters:
threshold
-
getDateTieredMaxStoreFileAgeMillis
public long getDateTieredMaxStoreFileAgeMillis()
getDateTieredIncomingWindowMin
public int getDateTieredIncomingWindowMin()
getCompactionPolicyForDateTieredWindow
public String getCompactionPolicyForDateTieredWindow()
useDateTieredSingleOutputForMinorCompaction
public boolean useDateTieredSingleOutputForMinorCompaction()
getDateTieredCompactionWindowFactory
public String getDateTieredCompactionWindowFactory()
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.