程序包 | 说明 |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.client |
Provides HBase Client
Table of Contents
Overview
Example API Usage
Overview
To administer HBase, create and drop tables, list and alter tables,
use
Admin . |
限定符和类型 | 字段和说明 |
---|---|
static HRegionInfo |
HRegionInfo.FIRST_META_REGIONINFO
已过时。
HRegionInfo for first meta region
|
限定符和类型 | 方法和说明 |
---|---|
static HRegionInfo |
HRegionInfo.convert(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.RegionInfo proto)
已过时。
As of release 2.0.0, this will be removed in HBase 3.0.0
Use toRegionInfo(HBaseProtos.RegionInfo)
in org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil.
|
HRegionInfo |
HRegionLocation.getRegionInfo()
已过时。
Since 2.0.0. Will remove in 3.0.0. Use
HRegionLocation.getRegion() } instead. |
static HRegionInfo |
HRegionInfo.parseFrom(byte[] bytes)
已过时。
As of release 2.0.0, this will be removed in HBase 3.0.0
Use
RegionInfo.parseFrom(byte[]) . |
static HRegionInfo |
HRegionInfo.parseFrom(byte[] bytes,
int offset,
int len)
已过时。
As of release 2.0.0, this will be removed in HBase 3.0.0
Use
RegionInfo.parseFrom(byte[], int, int) . |
static HRegionInfo |
HRegionInfo.parseFrom(DataInputStream in)
已过时。
As of release 2.0.0, this will be removed in HBase 3.0.0
Use
RegionInfo.parseFrom(DataInputStream) . |
static HRegionInfo |
HRegionInfo.parseFromOrNull(byte[] bytes)
已过时。
As of release 2.0.0, this will be removed in HBase 3.0.0
Use
RegionInfo.parseFromOrNull(byte[]) . |
static HRegionInfo |
HRegionInfo.parseFromOrNull(byte[] bytes,
int offset,
int len)
已过时。
As of release 2.0.0, this will be removed in HBase 3.0.0
Use
RegionInfo.parseFromOrNull(byte[], int, int) . |
限定符和类型 | 方法和说明 |
---|---|
static List<HRegionInfo> |
HRegionInfo.parseDelimitedFrom(byte[] bytes,
int offset,
int length)
已过时。
As of release 2.0.0, this will be removed in HBase 3.0.0
Use
RegionInfo.parseDelimitedFrom(byte[], int, int) . |
限定符和类型 | 方法和说明 |
---|---|
static boolean |
HRegionInfo.areAdjacent(HRegionInfo regionA,
HRegionInfo regionB)
已过时。
As of release 2.0.0, this will be removed in HBase 3.0.0
Use
RegionInfo.areAdjacent(RegionInfo, RegionInfo) . |
int |
HRegionInfo.compareTo(HRegionInfo o)
已过时。
|
static org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.RegionInfo |
HRegionInfo.convert(HRegionInfo info)
已过时。
As of release 2.0.0, this will be removed in HBase 3.0.0
Use toRegionInfo(org.apache.hadoop.hbase.client.RegionInfo)
in org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil.
|
static byte[] |
HRegionInfo.getEndKeyForDisplay(HRegionInfo hri,
org.apache.hadoop.conf.Configuration conf)
已过时。
As of release 2.0.0, this will be removed in HBase 3.0.0
Use RegionInfoDisplay#getEndKeyForDisplay(RegionInfo, Configuration)
over in hbase-server module.
|
static String |
HRegionInfo.getRegionNameAsStringForDisplay(HRegionInfo hri,
org.apache.hadoop.conf.Configuration conf)
已过时。
As of release 2.0.0, this will be removed in HBase 3.0.0
Use RegionInfoDisplay#getRegionNameAsStringForDisplay(RegionInfo, Configuration)
over in hbase-server module.
|
static byte[] |
HRegionInfo.getRegionNameForDisplay(HRegionInfo hri,
org.apache.hadoop.conf.Configuration conf)
已过时。
As of release 2.0.0, this will be removed in HBase 3.0.0
Use RegionInfoDisplay#getRegionNameForDisplay(RegionInfo, Configuration)
over in hbase-server module.
|
static String |
HRegionInfo.getShortNameToLog(HRegionInfo... hris)
已过时。
As of release 2.0.0, this will be removed in HBase 3.0.0
Use
RegionInfo.getShortNameToLog(RegionInfo...) . |
static byte[] |
HRegionInfo.getStartKeyForDisplay(HRegionInfo hri,
org.apache.hadoop.conf.Configuration conf)
已过时。
As of release 2.0.0, this will be removed in HBase 3.0.0
Use RegionInfoDisplay#getStartKeyForDisplay(RegionInfo, Configuration)
over in hbase-server module.
|
static byte[] |
HRegionInfo.toDelimitedByteArray(HRegionInfo... infos)
已过时。
As of release 2.0.0, this will be removed in HBase 3.0.0
Use
RegionInfo.toDelimitedByteArray(RegionInfo...) . |
限定符和类型 | 方法和说明 |
---|---|
static String |
HRegionInfo.getShortNameToLog(List<HRegionInfo> hris)
已过时。
As of release 2.0.0, this will be removed in HBase 3.0.0
Use
RegionInfo.getShortNameToLog(List) )}. |
构造器和说明 |
---|
HRegionInfo(HRegionInfo other,
int replicaId)
已过时。
|
限定符和类型 | 类和说明 |
---|---|
class |
ImmutableHRegionInfo
已过时。
|
限定符和类型 | 字段和说明 |
---|---|
protected HRegionInfo |
ClientScanner.currentRegion |
限定符和类型 | 方法和说明 |
---|---|
HRegionInfo |
ScannerCallable.getHRegionInfo() |
HRegionInfo |
RegionServerCallable.getHRegionInfo() |
限定符和类型 | 方法和说明 |
---|---|
List<HRegionInfo> |
Admin.getOnlineRegions(ServerName sn)
已过时。
As of release 2.0.0, this will be removed in HBase 3.0.0
(HBASE-17980).
Use
Admin.getRegions(ServerName sn) . |
List<HRegionInfo> |
HBaseAdmin.getOnlineRegions(ServerName sn)
已过时。
As of release 2.0.0, this will be removed in HBase 3.0.0
Use
HBaseAdmin.getRegions(ServerName) . |
List<HRegionInfo> |
Admin.getTableRegions(TableName tableName)
已过时。
As of release 2.0.0, this will be removed in HBase 3.0.0
(HBASE-17980).
Use
Admin.getRegions(TableName) . |
List<HRegionInfo> |
HBaseAdmin.getTableRegions(TableName tableName)
已过时。
As of release 2.0.0, this will be removed in HBase 3.0.0
Use
HBaseAdmin.getRegions(TableName) . |
限定符和类型 | 方法和说明 |
---|---|
void |
Admin.closeRegion(ServerName sn,
HRegionInfo hri)
已过时。
As of release 2.0.0, this will be removed in HBase 3.0.0
(HBASE-18231).
Use
Admin.unassign(byte[], boolean) . |
void |
HBaseAdmin.closeRegion(ServerName unused,
HRegionInfo hri)
已过时。
|
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.