类 AbstractScriptSourceInput
- java.lang.Object
-
- org.hibernate.tool.schema.internal.exec.AbstractScriptSourceInput
-
- 所有已实现的接口:
ScriptSourceInput
public abstract class AbstractScriptSourceInput extends Object implements ScriptSourceInput
Convenience base class for ScriptSourceInput implementations- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 AbstractScriptSourceInput()
-
方法概要
所有方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 protected abstract StringgetScriptDescription()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.protected abstract Readerreader()voidrelease()Release this input.
-
-
-
方法详细资料
-
reader
protected abstract Reader reader()
-
prepare
public void prepare()
从接口复制的说明:ScriptSourceInputPrepare source for use, and log that this script is about to be imported.- 指定者:
prepare在接口中ScriptSourceInput
-
getScriptDescription
protected abstract String getScriptDescription()
-
read
public List<String> read(ImportSqlCommandExtractor commandExtractor)
从接口复制的说明:ScriptSourceInputRead the abstracted script, using the given extractor to split up the input into individual commands.- 指定者:
read在接口中ScriptSourceInput- 参数:
commandExtractor- The extractor for individual commands within the input.- 返回:
- The scripted commands
-
release
public void release()
从接口复制的说明:ScriptSourceInputRelease this input.- 指定者:
release在接口中ScriptSourceInput
-
-