public interface SchemaDropper
Modifier and Type | Method and Description |
---|---|
DelayedDropAction |
buildDelayedAction(Metadata metadata,
ExecutionOptions options,
SourceDescriptor sourceDescriptor)
Build a delayed Runnable for performing schema dropping.
|
void |
doDrop(Metadata metadata,
ExecutionOptions options,
SourceDescriptor sourceDescriptor,
TargetDescriptor targetDescriptor)
Perform a schema drop from the indicated source(s) to the indicated target(s).
|
void doDrop(Metadata metadata, ExecutionOptions options, SourceDescriptor sourceDescriptor, TargetDescriptor targetDescriptor)
metadata
- Represents the schema to be dropped.options
- Options for executing the dropsourceDescriptor
- description of the source(s) of drop commandstargetDescriptor
- description of the target(s) for the drop commandsDelayedDropAction buildDelayedAction(Metadata metadata, ExecutionOptions options, SourceDescriptor sourceDescriptor)
metadata
- The metadata to dropoptions
- The drop optionssourceDescriptor
- For access to the SourceDescriptor.getScriptSourceInput()
Copyright © 2019 JBoss by Red Hat. All rights reserved.