private static class HBaseAdmin.CreateTableFuture extends HBaseAdmin.TableFuture<Void>
HBaseAdmin.TableFuture.TableWaitForStateCallable
HBaseAdmin.ProcedureFuture.WaitForStateCallable
Modifier and Type | Field and Description |
---|---|
private TableDescriptor |
desc |
private byte[][] |
splitKeys |
procId
Constructor and Description |
---|
CreateTableFuture(HBaseAdmin admin,
TableDescriptor desc,
byte[][] splitKeys,
org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.CreateTableResponse response) |
Modifier and Type | Method and Description |
---|---|
String |
getOperationType() |
protected TableDescriptor |
getTableDescriptor() |
protected Void |
waitOperationResult(long deadlineTs)
Fallback implementation in case the procedure is not supported by the server.
|
getDescription, getTableName, postOperationFailure, postOperationResult, toString, waitForAllRegionsOnline, waitForSchemaUpdate, waitForTableDisabled, waitForTableEnabled, waitTableNotFound
abortProcedureResult, cancel, convertResult, get, get, getAdmin, getProcedureResult, isCancelled, isDone, waitForState
private final TableDescriptor desc
private final byte[][] splitKeys
public CreateTableFuture(HBaseAdmin admin, TableDescriptor desc, byte[][] splitKeys, org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.CreateTableResponse response)
protected TableDescriptor getTableDescriptor()
getTableDescriptor
in class HBaseAdmin.TableFuture<Void>
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–2020 The Apache Software Foundation. All rights reserved.