程序包 | 说明 |
---|---|
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 . |
org.apache.hadoop.hbase.shaded.protobuf |
限定符和类型 | 方法和说明 |
---|---|
static ClusterMetrics.Option |
ClusterMetricsBuilder.toOption(org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.Option option)
Convert ClusterStatusProtos.Option to ClusterMetrics.Option
|
static ClusterMetrics.Option |
ClusterMetrics.Option.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ClusterMetrics.Option[] |
ClusterMetrics.Option.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
static EnumSet<ClusterMetrics.Option> |
ClusterMetricsBuilder.toOptions(List<org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.Option> options)
Convert a list of ClusterStatusProtos.Option to an enum set of ClusterMetrics.Option
|
限定符和类型 | 方法和说明 |
---|---|
static org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.Option |
ClusterMetricsBuilder.toOption(ClusterMetrics.Option option)
Convert ClusterMetrics.Option to ClusterStatusProtos.Option
|
限定符和类型 | 方法和说明 |
---|---|
static List<org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.Option> |
ClusterMetricsBuilder.toOptions(EnumSet<ClusterMetrics.Option> options)
Convert an enum set of ClusterMetrics.Option to a list of ClusterStatusProtos.Option
|
限定符和类型 | 方法和说明 |
---|---|
ClusterMetrics |
Admin.getClusterMetrics(EnumSet<ClusterMetrics.Option> options)
Get cluster status with a set of
ClusterMetrics.Option to get desired status. |
CompletableFuture<ClusterMetrics> |
AsyncAdmin.getClusterMetrics(EnumSet<ClusterMetrics.Option> options) |
ClusterMetrics |
HBaseAdmin.getClusterMetrics(EnumSet<ClusterMetrics.Option> options) |
限定符和类型 | 方法和说明 |
---|---|
static org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.GetClusterStatusRequest |
RequestConverter.buildGetClusterStatusRequest(EnumSet<ClusterMetrics.Option> options)
Creates a protocol buffer GetClusterStatusRequest
|
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.