Interface TableProcedureInterface

All Known Implementing Classes:
AbstractStateMachineNamespaceProcedure, AbstractStateMachineRegionProcedure, AbstractStateMachineTableProcedure, AssignProcedure, CloneSnapshotProcedure, CloseRegionProcedure, CreateNamespaceProcedure, CreateTableProcedure, DeleteNamespaceProcedure, DeleteTableProcedure, DisableTableProcedure, EnableTableProcedure, FlushRegionProcedure, FlushTableProcedure, GCMergedRegionsProcedure, GCMultipleMergedRegionsProcedure, GCRegionProcedure, InitializeStoreFileTrackerProcedure, InitMetaProcedure, LockProcedure, MergeTableRegionsProcedure, ModifyColumnFamilyStoreFileTrackerProcedure, ModifyNamespaceProcedure, ModifyStoreFileTrackerProcedure, ModifyTableDescriptorProcedure, ModifyTableProcedure, ModifyTableStoreFileTrackerProcedure, MoveRegionProcedure, OpenRegionProcedure, RegionRemoteProcedureBase, RegionTransitionProcedure, ReopenTableRegionsProcedure, RestoreSnapshotProcedure, SnapshotProcedure, SnapshotRegionProcedure, SnapshotVerifyProcedure, SplitTableRegionProcedure, TransitRegionStateProcedure, TruncateRegionProcedure, TruncateTableProcedure, UnassignProcedure

@Private public interface TableProcedureInterface
Procedures that operates on a specific Table (e.g. create, delete, snapshot, ...) must implement this interface to allow the system handle the lock/concurrency problems.
  • Method Details

    • getTableName

      Returns the name of the table the procedure is operating on
    • getTableOperationType

      Given an operation type we can take decisions about what to do with pending operations. e.g. if we get a delete and we have some table operation pending (e.g. add column) we can abort those operations.
      Returns:
      the operation type that the procedure is executing.