private static class HBaseAdmin.DeleteTableFuture extends HBaseAdmin.TableFuture<Void>
HBaseAdmin.TableFuture.TableWaitForStateCallable
HBaseAdmin.ProcedureFuture.WaitForStateCallable
procId
Constructor and Description |
---|
DeleteTableFuture(HBaseAdmin admin,
TableName tableName,
org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.DeleteTableResponse response) |
Modifier and Type | Method and Description |
---|---|
String |
getOperationType()
Returns the operation type like CREATE, DELETE, DISABLE etc.
|
protected Void |
postOperationResult(Void result,
long deadlineTs)
Called after the operation is completed and the result fetched.
|
protected Void |
waitOperationResult(long deadlineTs)
Fallback implementation in case the procedure is not supported by the server.
|
getDescription, getTableDescriptor, getTableName, postOperationFailure, toString, waitForAllRegionsOnline, waitForSchemaUpdate, waitForTableDisabled, waitForTableEnabled, waitTableNotFound
abortProcedureResult, cancel, convertResult, get, get, getAdmin, getProcedureResult, isCancelled, isDone, waitForState
public DeleteTableFuture(HBaseAdmin admin, TableName tableName, org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.DeleteTableResponse response)
public String getOperationType()
HBaseAdmin.TableFuture
getOperationType
in class HBaseAdmin.TableFuture<Void>
protected Void waitOperationResult(long deadlineTs) throws IOException, TimeoutException
HBaseAdmin.ProcedureFuture
waitOperationResult
in class HBaseAdmin.ProcedureFuture<Void>
deadlineTs
- the timestamp after which this method should throw a TimeoutExceptionIOException
TimeoutException
protected Void postOperationResult(Void result, long deadlineTs) throws IOException, TimeoutException
HBaseAdmin.ProcedureFuture
postOperationResult
in class HBaseAdmin.TableFuture<Void>
result
- the result of the proceduredeadlineTs
- the timestamp after which this method should throw a TimeoutExceptionIOException
TimeoutException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.