private static class HBaseAdmin.RestoreSnapshotFuture extends HBaseAdmin.TableFuture<Void>
HBaseAdmin.TableFuture.TableWaitForStateCallable
HBaseAdmin.ProcedureFuture.WaitForStateCallable
procId
Constructor and Description |
---|
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(HBaseAdmin admin,
TableName tableName,
Long procId) |
Modifier and Type | Method and Description |
---|---|
String |
getOperationType()
Returns the operation type like CREATE, DELETE, DISABLE etc.
|
getDescription, getTableDescriptor, getTableName, postOperationFailure, postOperationResult, toString, waitForAllRegionsOnline, waitForSchemaUpdate, waitForTableDisabled, waitForTableEnabled, waitTableNotFound
abortProcedureResult, cancel, convertResult, get, get, getAdmin, getProcedureResult, isCancelled, isDone, waitForState, waitOperationResult
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)
public RestoreSnapshotFuture(HBaseAdmin admin, TableName tableName, Long procId)
public String getOperationType()
HBaseAdmin.TableFuture
getOperationType
in class HBaseAdmin.TableFuture<Void>
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.