| 程序包 | 说明 |
|---|---|
| org.apache.hadoop.hbase.regionserver |
| 限定符和类型 | 类和说明 |
|---|---|
class |
BusyRegionSplitPolicy
This class represents a split policy which makes the split decision based
on how busy a region is.
|
class |
ConstantSizeRegionSplitPolicy
A
RegionSplitPolicy implementation which splits a region
as soon as any of its store files exceeds a maximum configurable
size. |
class |
DelimitedKeyPrefixRegionSplitPolicy
A custom RegionSplitPolicy implementing a SplitPolicy that groups
rows by a prefix of the row-key with a delimiter.
|
class |
DisabledRegionSplitPolicy
A
RegionSplitPolicy that disables region splits. |
class |
IncreasingToUpperBoundRegionSplitPolicy
Split size is the number of regions that are on this server that all are
of the same table, cubed, times 2x the region flush size OR the maximum
region split size, whichever is smaller.
|
class |
KeyPrefixRegionSplitPolicy
A custom RegionSplitPolicy implementing a SplitPolicy that groups
rows by a prefix of the row-key
This ensures that a region is not split "inside" a prefix of a row key.
|
class |
SteppingSplitPolicy |
| 限定符和类型 | 方法和说明 |
|---|---|
static RegionSplitPolicy |
RegionSplitPolicy.create(HRegion region,
org.apache.hadoop.conf.Configuration conf)
Create the RegionSplitPolicy configured for the given table.
|
RegionSplitPolicy |
HRegion.getSplitPolicy() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Class<? extends RegionSplitPolicy> |
RegionSplitPolicy.getSplitPolicyClass(TableDescriptor htd,
org.apache.hadoop.conf.Configuration conf) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.hadoop.fs.Path |
HRegionFileSystem.splitStoreFile(RegionInfo hri,
String familyName,
HStoreFile f,
byte[] splitRow,
boolean top,
RegionSplitPolicy splitPolicy)
Write out a split reference.
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.