Modifier and Type | Class and Description |
---|---|
static class |
EtlProcess.EtlMode
The EtlProcess modes
INCLUDED - ETL engine included into other Toolsverse apps, such as Data Explorer STANDALONE - ETL engine is a standalone application EMBEDDED - ETL engine embedded into third-party application. |
Constructor and Description |
---|
EtlProcess(EtlProcess.EtlMode mode)
Instantiates a new etl process.
|
Modifier and Type | Method and Description |
---|---|
EtlResponse |
execute()
Executes etl process.
|
EtlResponse |
execute(EtlConfig config)
Executes process using given etl config.
|
EtlResponse |
execute(EtlRequest request)
Executes process using given etl request.
|
void |
execute(Scenario scenario,
EtlConfig config,
int index,
TransactionMonitor transactionMonitor)
Executes etl scenario.
|
List<DataSetConnector<?,?>> |
getConnectors()
Gets connectors.
|
List<Driver> |
getDrivers()
Gets drivers.
|
boolean |
isInitialized()
Checks if process is initialized.
|
static void |
main(String[] args)
Reads etl config from the file and executes one or multiple scenarios if
any configured.
|
void |
printConfig(EtlConfig etlConfig)
Prints the config.
|
void |
update()
Updates software.
|
public EtlProcess(EtlProcess.EtlMode mode)
mode
- the mode. The standalone mode implies executing main(...)public static void main(String[] args)
args
- String[]public List<Driver> getDrivers()
public List<DataSetConnector<?,?>> getConnectors()
public EtlResponse execute()
public EtlResponse execute(EtlConfig config)
config
- the etl configpublic EtlResponse execute(EtlRequest request)
request
- the etl requestpublic void execute(Scenario scenario, EtlConfig config, int index, TransactionMonitor transactionMonitor) throws Exception
scenario
- the scenarioconfig
- the etl configindex
- the scenario index. -1 if it is a main scenario.transactionMonitor
- the transaction monitorException
- in case of any errorpublic boolean isInitialized()
public void printConfig(EtlConfig etlConfig)
etlConfig
- the etl configpublic void update()
Copyright © 2010-2020 Toolsverse. All Rights Reserved.