@InterfaceAudience.Private public class CompactionConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BASE_WINDOW_MILLIS_KEY |
static String |
COMPACTION_POLICY_CLASS_FOR_TIERED_WINDOWS_KEY |
static String |
HBASE_HSTORE_COMPACTION_MAX_KEY |
static String |
HBASE_HSTORE_COMPACTION_MAX_SIZE_KEY |
static String |
HBASE_HSTORE_COMPACTION_MIN_KEY |
static String |
HBASE_HSTORE_COMPACTION_MIN_SIZE_KEY |
static String |
HBASE_HSTORE_COMPACTION_RATIO_KEY |
static String |
HBASE_HSTORE_COMPACTION_RATIO_OFFPEAK_KEY |
static String |
HBASE_HSTORE_MIN_LOCALITY_TO_SKIP_MAJOR_COMPACT |
static String |
HBASE_HSTORE_OFFPEAK_END_HOUR |
static String |
HBASE_HSTORE_OFFPEAK_START_HOUR |
static String |
INCOMING_WINDOW_MIN_KEY |
static String |
MAX_AGE_MILLIS_KEY |
static String |
SINGLE_OUTPUT_FOR_MINOR_COMPACTION_KEY |
static String |
WINDOWS_PER_TIER_KEY |
Modifier and Type | Method and Description |
---|---|
long |
getBaseWindowMillis() |
String |
getCompactionPolicyForTieredWindow() |
double |
getCompactionRatio() |
double |
getCompactionRatioOffPeak() |
int |
getIncomingWindowMin() |
float |
getMajorCompactionJitter() |
long |
getMajorCompactionPeriod() |
long |
getMaxCompactSize() |
int |
getMaxFilesToCompact() |
long |
getMaxStoreFileAgeMillis() |
long |
getMinCompactSize() |
int |
getMinFilesToCompact() |
float |
getMinLocalityToForceCompact() |
long |
getThrottlePoint() |
int |
getWindowsPerTier() |
void |
setMinFilesToCompact(int threshold)
Set upper bound on number of files to be included in minor compactions
|
String |
toString() |
boolean |
useSingleOutputForMinorCompaction() |
public static final String HBASE_HSTORE_COMPACTION_RATIO_KEY
public static final String HBASE_HSTORE_COMPACTION_RATIO_OFFPEAK_KEY
public static final String HBASE_HSTORE_COMPACTION_MIN_KEY
public static final String HBASE_HSTORE_COMPACTION_MIN_SIZE_KEY
public static final String HBASE_HSTORE_COMPACTION_MAX_KEY
public static final String HBASE_HSTORE_COMPACTION_MAX_SIZE_KEY
public static final String HBASE_HSTORE_OFFPEAK_END_HOUR
public static final String HBASE_HSTORE_OFFPEAK_START_HOUR
public static final String HBASE_HSTORE_MIN_LOCALITY_TO_SKIP_MAJOR_COMPACT
public static final String MAX_AGE_MILLIS_KEY
public static final String BASE_WINDOW_MILLIS_KEY
public static final String WINDOWS_PER_TIER_KEY
public static final String INCOMING_WINDOW_MIN_KEY
public static final String COMPACTION_POLICY_CLASS_FOR_TIERED_WINDOWS_KEY
public static final String SINGLE_OUTPUT_FOR_MINOR_COMPACTION_KEY
public long getMinCompactSize()
public long getMaxCompactSize()
public int getMinFilesToCompact()
public void setMinFilesToCompact(int threshold)
threshold
- value to set topublic int getMaxFilesToCompact()
public double getCompactionRatio()
public double getCompactionRatioOffPeak()
public long getThrottlePoint()
public long getMajorCompactionPeriod()
public float getMajorCompactionJitter()
public float getMinLocalityToForceCompact()
public long getMaxStoreFileAgeMillis()
public long getBaseWindowMillis()
public int getWindowsPerTier()
public int getIncomingWindowMin()
public String getCompactionPolicyForTieredWindow()
public boolean useSingleOutputForMinorCompaction()