@InterfaceAudience.Private public class StripeStoreConfig extends Object
StripeStoreFileManager
for
general documentation. See getters for the description of each setting.Modifier and Type | Field and Description |
---|---|
private static double |
EPSILON |
static String |
FLUSH_TO_L0_KEY
Whether to flush memstore to L0 files, or directly to stripes.
|
private boolean |
flushIntoL0 |
static String |
INITIAL_STRIPE_COUNT_KEY
The initial stripe count to create.
|
private int |
initialCount |
private int |
level0CompactMinFiles |
private static org.slf4j.Logger |
LOG |
static String |
MAX_FILES_KEY
The maximum number of files to compact within a stripe; same as for regular compaction.
|
static String |
MAX_REGION_SPLIT_IMBALANCE_KEY
When splitting region, the maximum size imbalance to allow in an attempt to split at a stripe
boundary, so that no files go to both regions.
|
private float |
maxRegionSplitImbalance |
static String |
MIN_FILES_KEY
The minimum number of files to compact within a stripe; same as for regular compaction.
|
static String |
MIN_FILES_L0_KEY
The minimum number of files to compact when compacting L0; same as minFiles for regular
compaction.
|
static String |
SIZE_TO_SPLIT_KEY
The size the stripe should achieve to be considered for splitting into multiple stripes.
|
private long |
sizeToSplitAt |
static String |
SPLIT_PARTS_KEY
The target count of new stripes to produce when splitting a stripe.
|
private float |
splitPartCount |
private long |
splitPartSize |
private int |
stripeCompactMaxFiles |
private int |
stripeCompactMinFiles |
Constructor and Description |
---|
StripeStoreConfig(org.apache.hadoop.conf.Configuration config,
StoreConfigInformation sci) |
Modifier and Type | Method and Description |
---|---|
private static float |
getFloat(org.apache.hadoop.conf.Configuration config,
String key,
float defaultValue,
boolean moreThanOne) |
int |
getInitialCount() |
int |
getLevel0MinFiles() |
float |
getMaxSplitImbalance() |
float |
getSplitCount() |
long |
getSplitPartSize() |
long |
getSplitSize() |
int |
getStripeCompactMaxFiles() |
int |
getStripeCompactMinFiles() |
boolean |
isUsingL0Flush() |
private static final org.slf4j.Logger LOG
public static final String MAX_FILES_KEY
public static final String MIN_FILES_KEY
public static final String MIN_FILES_L0_KEY
public static final String SIZE_TO_SPLIT_KEY
public static final String SPLIT_PARTS_KEY
public static final String INITIAL_STRIPE_COUNT_KEY
public static final String FLUSH_TO_L0_KEY
public static final String MAX_REGION_SPLIT_IMBALANCE_KEY
private final float maxRegionSplitImbalance
private final int level0CompactMinFiles
private final int stripeCompactMinFiles
private final int stripeCompactMaxFiles
private final int initialCount
private final long sizeToSplitAt
private final float splitPartCount
private final boolean flushIntoL0
private final long splitPartSize
private static final double EPSILON
public StripeStoreConfig(org.apache.hadoop.conf.Configuration config, StoreConfigInformation sci)
private static float getFloat(org.apache.hadoop.conf.Configuration config, String key, float defaultValue, boolean moreThanOne)
public float getMaxSplitImbalance()
public int getLevel0MinFiles()
public int getStripeCompactMinFiles()
public int getStripeCompactMaxFiles()
public boolean isUsingL0Flush()
public long getSplitSize()
public int getInitialCount()
public float getSplitCount()
public long getSplitPartSize()
getSplitSize()
and getSplitCount()
.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.