private static class HBaseAdmin.TruncateTableFuture extends HBaseAdmin.TableFuture<Void>
HBaseAdmin.TableFuture.TableWaitForStateCallable
HBaseAdmin.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, waitTableNotFound
abortProcedureResult, cancel, convertResult, get, get, getAdmin, getProcedureResult, isCancelled, isDone, waitForState
private 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.ProcedureFuture
waitOperationResult
in class HBaseAdmin.ProcedureFuture<Void>
deadlineTs
- the timestamp after which this method should throw a TimeoutExceptionIOException
TimeoutException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.