Package org.hibernate.tool.schema.spi
Interface SchemaDropper
-
- All Known Implementing Classes:
SchemaDropperImpl
@Incubating public interface SchemaDropper
Service delegate for handling schema dropping.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DelayedDropAction
buildDelayedAction(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, SourceDescriptor sourceDescriptor)
Build a delayed Runnable for performing schema dropping.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).
-
-
-
Method Detail
-
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 dropcontributableInclusionFilter
- Filter for Contributable instances to usesourceDescriptor
- description of the source(s) of drop commandstargetDescriptor
- 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 dropoptions
- The drop optionscontributableInclusionFilter
- Filter for Contributable instances to usesourceDescriptor
- For access to theSourceDescriptor.getScriptSourceInput()
- Returns:
- The Runnable
-
-