Package org.apache.hadoop.hbase.client
Class HBaseAdmin.RestoreSnapshotFuture
java.lang.Object
org.apache.hadoop.hbase.client.HBaseAdmin.ProcedureFuture<V>
org.apache.hadoop.hbase.client.HBaseAdmin.TableFuture<Void>
org.apache.hadoop.hbase.client.HBaseAdmin.RestoreSnapshotFuture
- Enclosing class:
- HBaseAdmin
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.client.HBaseAdmin.TableFuture
HBaseAdmin.TableFuture.TableWaitForStateCallable
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.client.HBaseAdmin.ProcedureFuture
HBaseAdmin.ProcedureFuture.WaitForStateCallable
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.client.HBaseAdmin.ProcedureFuture
procId
-
Constructor Summary
ConstructorDescriptionRestoreSnapshotFuture
(HBaseAdmin admin, org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription snapshot, TableName tableName, org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.RestoreSnapshotResponse response) RestoreSnapshotFuture
(HBaseAdmin admin, TableName tableName, Long procId) -
Method Summary
Modifier and TypeMethodDescriptionReturns the operation type like CREATE, DELETE, DISABLE etc.Methods inherited from class org.apache.hadoop.hbase.client.HBaseAdmin.TableFuture
getDescription, getTableDescriptor, getTableName, postOperationFailure, postOperationResult, toString, waitForAllRegionsOnline, waitForSchemaUpdate, waitForTableDisabled, waitForTableEnabled, waitTableNotFound
Methods inherited from class org.apache.hadoop.hbase.client.HBaseAdmin.ProcedureFuture
abortProcedureResult, cancel, convertResult, get, get, getAdmin, getProcedureResult, isCancelled, isDone, waitForState, waitOperationResult
-
Constructor Details
-
RestoreSnapshotFuture
public RestoreSnapshotFuture(HBaseAdmin admin, org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription snapshot, TableName tableName, org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.RestoreSnapshotResponse response) -
RestoreSnapshotFuture
-
-
Method Details
-
getOperationType
Description copied from class:HBaseAdmin.TableFuture
Returns the operation type like CREATE, DELETE, DISABLE etc.- Specified by:
getOperationType
in classHBaseAdmin.TableFuture<Void>
-