private static class HBaseAdmin.TruncateTableFuture extends HBaseAdmin.TableFuture<Void>
HBaseAdmin.TableFuture.TableWaitForStateCallableHBaseAdmin.ProcedureFuture.WaitForStateCallable| Modifier and Type | Field and Description |
|---|---|
private boolean |
preserveSplits |
procId| Constructor and Description |
|---|
TruncateTableFuture(HBaseAdmin admin,
TableName tableName,
boolean preserveSplits,
org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.TruncateTableResponse response) |
| Modifier and Type | Method and Description |
|---|---|
String |
getOperationType() |
protected Void |
waitOperationResult(long deadlineTs)
Fallback implementation in case the procedure is not supported by the server.
|
getDescription, getTableDescriptor, getTableName, postOperationFailure, postOperationResult, toString, waitForAllRegionsOnline, waitForSchemaUpdate, waitForTableDisabled, waitForTableEnabled, waitTableNotFoundabortProcedureResult, cancel, convertResult, get, get, getAdmin, getProcedureResult, isCancelled, isDone, waitForStateprivate final boolean preserveSplits
public TruncateTableFuture(HBaseAdmin admin, TableName tableName, boolean preserveSplits, org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.TruncateTableResponse response)
public String getOperationType()
getOperationType in class HBaseAdmin.TableFuture<Void>protected Void waitOperationResult(long deadlineTs) throws IOException, TimeoutException
HBaseAdmin.ProcedureFuturewaitOperationResult in class HBaseAdmin.ProcedureFuture<Void>deadlineTs - the timestamp after which this method should throw a TimeoutExceptionIOExceptionTimeoutExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.