@InterfaceAudience.Private public class RegionInfoDisplay extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DISPLAY_KEYS_KEY |
static byte[] |
HIDDEN_END_KEY |
static byte[] |
HIDDEN_START_KEY |
Constructor and Description |
---|
RegionInfoDisplay() |
Modifier and Type | Method and Description |
---|---|
static String |
getDescriptiveNameFromRegionStateForDisplay(RegionState state,
org.apache.hadoop.conf.Configuration conf)
Get the descriptive name as
RegionState does it but with hidden
startkey optionally |
static byte[] |
getEndKeyForDisplay(RegionInfo ri,
org.apache.hadoop.conf.Configuration conf)
Get the end key for display.
|
static String |
getRegionNameAsStringForDisplay(RegionInfo ri,
org.apache.hadoop.conf.Configuration conf)
Get the region name for display.
|
static byte[] |
getRegionNameForDisplay(RegionInfo ri,
org.apache.hadoop.conf.Configuration conf)
Get the region name for display.
|
static byte[] |
getStartKeyForDisplay(RegionInfo ri,
org.apache.hadoop.conf.Configuration conf)
Get the start key for display.
|
public static final String DISPLAY_KEYS_KEY
public static final byte[] HIDDEN_END_KEY
public static final byte[] HIDDEN_START_KEY
public RegionInfoDisplay()
public static String getDescriptiveNameFromRegionStateForDisplay(RegionState state, org.apache.hadoop.conf.Configuration conf)
RegionState
does it but with hidden
startkey optionallypublic static byte[] getEndKeyForDisplay(RegionInfo ri, org.apache.hadoop.conf.Configuration conf)
public static byte[] getStartKeyForDisplay(RegionInfo ri, org.apache.hadoop.conf.Configuration conf)
ri
- conf
- public static String getRegionNameAsStringForDisplay(RegionInfo ri, org.apache.hadoop.conf.Configuration conf)
ri
- conf
- public static byte[] getRegionNameForDisplay(RegionInfo ri, org.apache.hadoop.conf.Configuration conf)
ri
- conf
- Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.