@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 |
---|---|
static String |
FLUSH_TO_L0_KEY
Whether to flush memstore to L0 files, or directly to stripes.
|
static String |
INITIAL_STRIPE_COUNT_KEY
The initial stripe count to create.
|
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.
|
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.
|
static String |
SPLIT_PARTS_KEY
The target count of new stripes to produce when splitting a stripe.
|
Constructor and Description |
---|
StripeStoreConfig(org.apache.hadoop.conf.Configuration config,
StoreConfigInformation sci) |
Modifier and Type | Method and Description |
---|---|
int |
getInitialCount() |
int |
getLevel0MinFiles() |
float |
getMaxSplitImbalance() |
float |
getSplitCount() |
long |
getSplitPartSize() |
long |
getSplitSize() |
int |
getStripeCompactMaxFiles() |
int |
getStripeCompactMinFiles() |
boolean |
isUsingL0Flush() |
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
public StripeStoreConfig(org.apache.hadoop.conf.Configuration config, StoreConfigInformation sci)
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–2019 The Apache Software Foundation. All rights reserved.