Package org.apache.hadoop.hbase.client
Class HBaseAdmin.ModifyTableFuture
java.lang.Object
org.apache.hadoop.hbase.client.HBaseAdmin.ProcedureFuture<V>
org.apache.hadoop.hbase.client.HBaseAdmin.TableFuture<Void>
org.apache.hadoop.hbase.client.HBaseAdmin.ModifyTableFuture
- Direct Known Subclasses:
HBaseAdmin.AddColumnFamilyFuture
,HBaseAdmin.DeleteColumnFamilyFuture
,HBaseAdmin.ModifyColumnFamilyFuture
,HBaseAdmin.ModifyColumnFamilyStoreFileTrackerFuture
,HBaseAdmin.ModifyTablerStoreFileTrackerFuture
- Enclosing class:
- HBaseAdmin
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.client.HBaseAdmin.TableFuture
HBaseAdmin.TableFuture.TableWaitForStateCallable
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.client.HBaseAdmin.ProcedureFuture
HBaseAdmin.ProcedureFuture.WaitForStateCallable
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.client.HBaseAdmin.ProcedureFuture
procId
-
Constructor Summary
ConstructorDescriptionModifyTableFuture
(HBaseAdmin admin, TableName tableName, Long procId) ModifyTableFuture
(HBaseAdmin admin, TableName tableName, org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.ModifyTableResponse response) -
Method Summary
Modifier and TypeMethodDescriptionReturns 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.Methods inherited from class org.apache.hadoop.hbase.client.HBaseAdmin.TableFuture
getDescription, getTableDescriptor, getTableName, postOperationFailure, toString, waitForAllRegionsOnline, waitForSchemaUpdate, waitForTableDisabled, waitForTableEnabled, waitTableNotFound
Methods inherited from class org.apache.hadoop.hbase.client.HBaseAdmin.ProcedureFuture
abortProcedureResult, cancel, convertResult, get, get, getAdmin, getProcedureResult, isCancelled, isDone, waitForState, waitOperationResult
-
Constructor Details
-
ModifyTableFuture
public ModifyTableFuture(HBaseAdmin admin, TableName tableName, org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.ModifyTableResponse response) -
ModifyTableFuture
-
-
Method Details
-
getOperationType
Description copied from class:HBaseAdmin.TableFuture
Returns the operation type like CREATE, DELETE, DISABLE etc.- Specified by:
getOperationType
in classHBaseAdmin.TableFuture<Void>
-
postOperationResult
protected Void postOperationResult(Void result, long deadlineTs) throws IOException, TimeoutException Description copied from class:HBaseAdmin.ProcedureFuture
Called after the operation is completed and the result fetched. this allows to perform extra steps after the procedure is completed. it allows to apply transformations to the result that will be returned by get().- Overrides:
postOperationResult
in classHBaseAdmin.TableFuture<Void>
- Parameters:
result
- the result of the proceduredeadlineTs
- the timestamp after which this method should throw a TimeoutException- Returns:
- the result of the procedure, which may be the same as the passed one
- Throws:
IOException
TimeoutException
-