| 程序包 | 说明 |
|---|---|
| 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 |
HBaseAdmin.snapshot(byte[] snapshotName,
byte[] tableName) |
void |
HBaseAdmin.snapshot(byte[] snapshotName,
byte[] tableName,
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription.Type flushType)
Create snapshot for the given table of given flush type.
|
void |
HBaseAdmin.snapshot(byte[] snapshotName,
TableName tableName)
public void snapshot(final String snapshotName,
Create a timestamp consistent snapshot for the given table.
|
void |
Admin.snapshot(byte[] snapshotName,
TableName tableName)
public void snapshot(final String snapshotName, Create a timestamp consistent snapshot for the
given table. final byte[] tableName) throws IOException, Snapshots are considered unique based
on the name of the snapshot.
|
void |
HBaseAdmin.snapshot(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription snapshot)
Take a snapshot and wait for the server to complete that snapshot (blocking).
|
void |
Admin.snapshot(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription snapshot)
已过时。
|
void |
HBaseAdmin.snapshot(String snapshotName,
byte[] tableName,
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription.Type type) |
void |
HBaseAdmin.snapshot(String snapshotName,
String tableName) |
void |
HBaseAdmin.snapshot(String snapshotName,
String tableName,
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription.Type type) |
void |
HBaseAdmin.snapshot(String snapshotName,
TableName tableName)
Take a snapshot for the given table.
|
void |
Admin.snapshot(String snapshotName,
TableName tableName)
Take a snapshot for the given table.
|
void |
HBaseAdmin.snapshot(String snapshotName,
TableName tableName,
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription.Type type)
Create typed snapshot of the table.
|
void |
Admin.snapshot(String snapshotName,
TableName tableName,
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription.Type type)
已过时。
|
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.SnapshotResponse |
HBaseAdmin.takeSnapshotAsync(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.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.
|
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.SnapshotResponse |
Admin.takeSnapshotAsync(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription snapshot)
已过时。
|
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.