| 程序包 | 说明 |
|---|---|
| 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.protobuf |
Holds classes generated from protobuf
src/main/protobuf definition files. |
| 限定符和类型 | 方法和说明 |
|---|---|
static Admin.MasterSwitchType |
Admin.MasterSwitchType.valueOf(String name)
已过时。
返回带有指定名称的该类型的枚举常量。
|
static Admin.MasterSwitchType[] |
Admin.MasterSwitchType.values()
已过时。
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
HBaseAdmin.isSplitOrMergeEnabled(Admin.MasterSwitchType switchType) |
boolean |
Admin.isSplitOrMergeEnabled(Admin.MasterSwitchType switchType)
Query the current state of the switch
|
boolean[] |
HBaseAdmin.setSplitOrMergeEnabled(boolean enabled,
boolean synchronous,
Admin.MasterSwitchType... switchTypes) |
boolean[] |
Admin.setSplitOrMergeEnabled(boolean enabled,
boolean synchronous,
Admin.MasterSwitchType... switchTypes)
Turn the Split or Merge switches on or off.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsSplitOrMergeEnabledRequest |
RequestConverter.buildIsSplitOrMergeEnabledRequest(Admin.MasterSwitchType switchType)
Creates a protocol buffer IsSplitOrMergeEnabledRequest
|
static org.apache.hadoop.hbase.protobuf.generated.MasterProtos.SetSplitOrMergeEnabledRequest |
RequestConverter.buildSetSplitOrMergeEnabledRequest(boolean enabled,
boolean synchronous,
Admin.MasterSwitchType... switchTypes)
Creates a protocol buffer SetSplitOrMergeEnabledRequest
|
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.