接口 SchemaDropper
-
- 所有已知实现类:
SchemaDropperImpl
public interface SchemaDropperService delegate for handling schema dropping.- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 DelayedDropActionbuildDelayedAction(Metadata metadata, ExecutionOptions options, SourceDescriptor sourceDescriptor)Build a delayed Runnable for performing schema dropping.voiddoDrop(Metadata metadata, ExecutionOptions options, SourceDescriptor sourceDescriptor, TargetDescriptor targetDescriptor)Perform a schema drop from the indicated source(s) to the indicated target(s).
-
-
-
方法详细资料
-
doDrop
void doDrop(Metadata metadata, ExecutionOptions options, SourceDescriptor sourceDescriptor, TargetDescriptor targetDescriptor)
Perform a schema drop from the indicated source(s) to the indicated target(s).- 参数:
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 commands
-
buildDelayedAction
DelayedDropAction buildDelayedAction(Metadata metadata, ExecutionOptions options, SourceDescriptor sourceDescriptor)
Build a delayed Runnable for performing schema dropping. This implicitly targets the underlying data-store.- 参数:
metadata- The metadata to dropoptions- The drop optionssourceDescriptor- For access to theSourceDescriptor.getScriptSourceInput()- 返回:
- The Runnable
-
-