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
MAX_AGE_KEY
public static final String MAX_AGE_KEY
- See Also:
- Constant Field Values
BASE_WINDOW_MILLIS_KEY
public static final String BASE_WINDOW_MILLIS_KEY
- See Also:
- Constant Field Values
WINDOWS_PER_TIER_KEY
public static final String WINDOWS_PER_TIER_KEY
- See Also:
- Constant Field Values
INCOMING_WINDOW_MIN_KEY
public static final String INCOMING_WINDOW_MIN_KEY
- See Also:
- Constant Field Values
COMPACTION_POLICY_CLASS_FOR_TIERED_WINDOWS_KEY
public static final String COMPACTION_POLICY_CLASS_FOR_TIERED_WINDOWS_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
-
getMaxStoreFileAgeMillis
public long getMaxStoreFileAgeMillis()
getBaseWindowMillis
public long getBaseWindowMillis()
getWindowsPerTier
public int getWindowsPerTier()
getIncomingWindowMin
public int getIncomingWindowMin()
getCompactionPolicyForTieredWindow
public String getCompactionPolicyForTieredWindow()
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.