Interface SchemaDropper

All Known Implementing Classes:
SchemaDropperImpl

@Incubating public interface SchemaDropper
Service delegate for handling schema dropping.
  • Method Details

    • doDrop

      void doDrop(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, SourceDescriptor sourceDescriptor, TargetDescriptor targetDescriptor)
      Perform a schema drop from the indicated source(s) to the indicated target(s).
      Parameters:
      metadata - Represents the schema to be dropped.
      options - Options for executing the drop
      contributableInclusionFilter - Filter for Contributable instances to use
      sourceDescriptor - description of the source(s) of drop commands
      targetDescriptor - description of the target(s) for the drop commands
    • buildDelayedAction

      DelayedDropAction buildDelayedAction(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, SourceDescriptor sourceDescriptor)
      Build a delayed Runnable for performing schema dropping. This implicitly targets the underlying data-store.
      Parameters:
      metadata - The metadata to drop
      options - The drop options
      contributableInclusionFilter - Filter for Contributable instances to use
      sourceDescriptor - For access to the SourceDescriptor.getScriptSourceInput()
      Returns:
      The Runnable