接口 ScriptSourceInput
-
- 所有已知实现类:
AbstractScriptSourceInput,ScriptSourceInputFromFile,ScriptSourceInputFromReader,ScriptSourceInputFromUrl,ScriptSourceInputNonExistentImpl
public interface ScriptSourceInputContract for hiding the differences between a passed Reader, File or URL in terms of how we read input scripts.- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 voidprepare()Prepare source for use, and log that this script is about to be imported.List<String>read(ImportSqlCommandExtractor commandExtractor)Read the abstracted script, using the given extractor to split up the input into individual commands.voidrelease()Release this input.
-
-
-
方法详细资料
-
prepare
void prepare()
Prepare source for use, and log that this script is about to be imported.
-
read
List<String> read(ImportSqlCommandExtractor commandExtractor)
Read the abstracted script, using the given extractor to split up the input into individual commands.- 参数:
commandExtractor- The extractor for individual commands within the input.- 返回:
- The scripted commands
-
release
void release()
Release this input.
-
-