| 程序包 | 说明 |
|---|---|
| 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 TableState |
MetaTableAccessor.getTableState(Connection conn,
TableName tableName)
Fetch table state for given table from META table
|
static TableState |
MetaTableAccessor.getTableState(Result r)
Decode table state from META Result.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static CompletableFuture<Optional<TableState>> |
AsyncMetaTableAccessor.getTableState(AsyncTable<?> metaTable,
TableName tableName) |
static Map<TableName,TableState> |
MetaTableAccessor.getTableStates(Connection conn)
Fetch table states from META table
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Put |
MetaTableAccessor.makePutFromTableState(TableState state,
long ts)
Construct PUT for given state
|
| 限定符和类型 | 方法和说明 |
|---|---|
static TableState |
TableState.convert(TableName tableName,
org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableState tableState)
Covert from PB version of TableState
|
TableState |
ClusterConnection.getTableState(TableName tableName)
Retrieve TableState, represent current table state.
|
static TableState |
TableState.parseFrom(TableName tableName,
byte[] bytes) |
TableState |
HBaseHbck.setTableStateInMeta(TableState state) |
TableState |
Hbck.setTableStateInMeta(TableState state)
Update table state in Meta only.
|
| 限定符和类型 | 方法和说明 |
|---|---|
TableState |
HBaseHbck.setTableStateInMeta(TableState state) |
TableState |
Hbck.setTableStateInMeta(TableState state)
Update table state in Meta only.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.SetTableStateInMetaRequest |
RequestConverter.buildSetTableStateInMetaRequest(TableState state)
Creates a protocol buffer SetTableStateInMetaRequest
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.