|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ScriptExecutor
Denotes a class capable of executing a batch load script. This interface conforms to conventions for replicator plugins.
| Method Summary | |
|---|---|
void |
execute(CsvInfo info)
Executes the script for a specific table. |
void |
setConnection(Database connection)
Sets the DBMS connection. |
void |
setScript(java.lang.String script)
Sets the script name. |
void |
setShowCommands(boolean showCommands)
If set to true, show commands as they execute. |
| Methods inherited from interface com.continuent.tungsten.replicator.plugin.ReplicatorPlugin |
|---|
configure, prepare, release |
| Method Detail |
|---|
void setConnection(Database connection)
void setScript(java.lang.String script)
void setShowCommands(boolean showCommands)
void execute(CsvInfo info)
throws ReplicatorException
info - Information about the table to be loaded and source CSV file
ReplicatorException - Thrown if load operation fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||