public abstract class AbstractScriptSourceInput extends Object implements ScriptSourceInput
Constructor and Description |
---|
AbstractScriptSourceInput() |
Modifier and Type | Method and Description |
---|---|
void |
prepare()
Prepare source for use.
|
List<String> |
read(ImportSqlCommandExtractor commandExtractor)
Read the abstracted script, using the given extractor to split up the input into individual commands.
|
protected abstract Reader |
reader() |
void |
release()
Release this input.
|
protected abstract Reader reader()
public void prepare()
ScriptSourceInput
prepare
in interface ScriptSourceInput
public List<String> read(ImportSqlCommandExtractor commandExtractor)
ScriptSourceInput
read
in interface ScriptSourceInput
commandExtractor
- The extractor for individual commands within the input.public void release()
ScriptSourceInput
release
in interface ScriptSourceInput
Copyright © 2017 JBoss by Red Hat. All rights reserved.