| 程序包 | 说明 |
|---|---|
| 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.quotas |
| 限定符和类型 | 方法和说明 |
|---|---|
SpaceQuotaSnapshot |
HBaseAdmin.getCurrentSpaceQuotaSnapshot(String namespace) |
SpaceQuotaSnapshot |
HBaseAdmin.getCurrentSpaceQuotaSnapshot(TableName tableName) |
| 限定符和类型 | 方法和说明 |
|---|---|
Map<TableName,SpaceQuotaSnapshot> |
HBaseAdmin.getRegionServerSpaceQuotaSnapshots(ServerName serverName) |
| 限定符和类型 | 方法和说明 |
|---|---|
static SpaceQuotaSnapshot |
SpaceQuotaSnapshot.getNoSuchSnapshot()
Returns a singleton that corresponds to no snapshot information.
|
static SpaceQuotaSnapshot |
SpaceQuotaSnapshot.toSpaceQuotaSnapshot(org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.SpaceQuotaSnapshot proto) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Map<TableName,SpaceQuotaSnapshot> |
QuotaTableUtil.getSnapshots(Connection conn)
Fetches all
SpaceQuotaSnapshot objects from the hbase:quota table. |
| 限定符和类型 | 方法和说明 |
|---|---|
static org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.SpaceQuotaSnapshot |
SpaceQuotaSnapshot.toProtoSnapshot(SpaceQuotaSnapshot snapshot) |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
QuotaTableUtil.extractQuotaSnapshot(Result result,
Map<TableName,SpaceQuotaSnapshot> snapshots)
Extracts the
SpaceViolationPolicy and TableName from the provided
Result and adds them to the given Map. |
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.