Package | Description |
---|---|
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.thrift2.client |
Modifier and Type | Method and Description |
---|---|
default void |
Admin.cloneSnapshot(byte[] snapshotName,
TableName tableName)
Deprecated.
since 2.3.0, will be removed in 3.0.0. Use
Admin.cloneSnapshot(String, TableName) instead. |
default void |
Admin.cloneSnapshot(String snapshotName,
TableName tableName)
Create a new table by cloning the snapshot content.
|
default void |
Admin.cloneSnapshot(String snapshotName,
TableName tableName,
boolean restoreAcl)
Create a new table by cloning the snapshot content.
|
Future<Void> |
HBaseAdmin.cloneSnapshotAsync(String snapshotName,
TableName tableName,
boolean restoreAcl) |
Future<Void> |
Admin.cloneSnapshotAsync(String snapshotName,
TableName tableName,
boolean restoreAcl)
Create a new table by cloning the snapshot content.
|
private TableName |
HBaseAdmin.getTableNameBeforeRestoreSnapshot(String snapshotName)
Check whether the snapshot exists and contains disabled table
|
private Future<Void> |
HBaseAdmin.internalRestoreSnapshotAsync(String snapshotName,
TableName tableName,
boolean restoreAcl)
Execute Restore/Clone snapshot and wait for the server to complete (blocking).
|
void |
HBaseAdmin.restoreSnapshot(byte[] snapshotName) |
default void |
Admin.restoreSnapshot(byte[] snapshotName)
Deprecated.
since 2.3.0, will be removed in 3.0.0. Use
Admin.restoreSnapshot(String)
instead. |
void |
HBaseAdmin.restoreSnapshot(byte[] snapshotName,
boolean takeFailSafeSnapshot) |
default void |
Admin.restoreSnapshot(byte[] snapshotName,
boolean takeFailSafeSnapshot)
Deprecated.
since 2.3.0, will be removed in 3.0.0. Use
Admin.restoreSnapshot(String, boolean) instead. |
void |
HBaseAdmin.restoreSnapshot(String snapshotName) |
void |
Admin.restoreSnapshot(String snapshotName)
Restore the specified snapshot on the original table.
|
void |
HBaseAdmin.restoreSnapshot(String snapshotName,
boolean takeFailSafeSnapshot) |
default void |
Admin.restoreSnapshot(String snapshotName,
boolean takeFailSafeSnapshot)
Restore the specified snapshot on the original table.
|
void |
HBaseAdmin.restoreSnapshot(String snapshotName,
boolean takeFailSafeSnapshot,
boolean restoreAcl) |
void |
Admin.restoreSnapshot(String snapshotName,
boolean takeFailSafeSnapshot,
boolean restoreAcl)
Restore the specified snapshot on the original table.
|
Future<Void> |
HBaseAdmin.restoreSnapshotAsync(String snapshotName) |
Future<Void> |
Admin.restoreSnapshotAsync(String snapshotName)
Deprecated.
since 2.3.0, will be removed in 3.0.0. The implementation does not take care of the
failsafe property, so do not use it any more.
|
Modifier and Type | Method and Description |
---|---|
Future<Void> |
ThriftAdmin.cloneSnapshotAsync(String snapshotName,
TableName tableName,
boolean cloneAcl) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.