程序包 | 说明 |
---|---|
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 . |
限定符和类型 | 方法和说明 |
---|---|
void |
Admin.snapshot(byte[] snapshotName,
TableName tableName)
Create a timestamp consistent snapshot for the given table.
|
void |
HBaseAdmin.snapshot(byte[] snapshotName,
TableName tableName) |
void |
Admin.snapshot(SnapshotDescription snapshot)
Take a snapshot and wait for the server to complete that snapshot (blocking).
|
void |
HBaseAdmin.snapshot(SnapshotDescription snapshotDesc) |
void |
Admin.snapshot(String snapshotName,
TableName tableName)
Take a snapshot for the given table.
|
void |
HBaseAdmin.snapshot(String snapshotName,
TableName tableName) |
void |
Admin.snapshot(String snapshotName,
TableName tableName,
SnapshotType type)
Create typed snapshot of the table.
|
void |
HBaseAdmin.snapshot(String snapshotName,
TableName tableName,
SnapshotType type) |
void |
Admin.snapshotAsync(SnapshotDescription snapshot)
Take a snapshot without waiting for the server to complete that snapshot (asynchronous) Only a
single snapshot should be taken at a time, or results may be undefined.
|
void |
HBaseAdmin.snapshotAsync(SnapshotDescription snapshotDesc) |
default void |
Admin.takeSnapshotAsync(SnapshotDescription snapshot)
已过时。
Since 2.0.0. Will be removed in 3.0.0. Use
Admin.snapshotAsync(SnapshotDescription) instead. |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.