| 程序包 | 说明 |
|---|---|
| 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. |
| org.apache.hadoop.hbase.shaded.protobuf |
| 限定符和类型 | 方法和说明 |
|---|---|
SnapshotType |
SnapshotDescription.getType() |
static SnapshotType |
SnapshotType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static SnapshotType[] |
SnapshotType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
default CompletableFuture<Void> |
AsyncAdmin.snapshot(String snapshotName,
TableName tableName,
SnapshotType type)
Create typed snapshot of the table.
|
void |
Admin.snapshot(String snapshotName,
TableName tableName,
SnapshotType type)
Create typed snapshot of the table.
|
void |
HBaseAdmin.snapshot(String snapshotName,
TableName tableName,
SnapshotType type) |
| 构造器和说明 |
|---|
SnapshotDescription(String name,
String table,
SnapshotType type)
已过时。
Use the version with the TableName instance instead
|
SnapshotDescription(String name,
String table,
SnapshotType type,
String owner)
已过时。
Use the version with the TableName instance instead
|
SnapshotDescription(String name,
String table,
SnapshotType type,
String owner,
long creationTime,
int version)
已过时。
Use the version with the TableName instance instead
|
SnapshotDescription(String name,
TableName table,
SnapshotType type) |
SnapshotDescription(String name,
TableName table,
SnapshotType type,
String owner) |
SnapshotDescription(String name,
TableName table,
SnapshotType type,
String owner,
long creationTime,
int version) |
| 限定符和类型 | 方法和说明 |
|---|---|
static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription.Type |
ProtobufUtil.createProtosSnapShotDescType(SnapshotType type)
Creates
HBaseProtos.SnapshotDescription.Type
from SnapshotType |
| 限定符和类型 | 方法和说明 |
|---|---|
static SnapshotType |
ProtobufUtil.createSnapshotType(org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription.Type type)
Creates
SnapshotType from the type of
HBaseProtos.SnapshotDescription |
| 限定符和类型 | 方法和说明 |
|---|---|
static org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription.Type |
ProtobufUtil.createProtosSnapShotDescType(SnapshotType type)
Creates
HBaseProtos.SnapshotDescription.Type
from SnapshotType |
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.