Class SubsettingEngine
java.lang.Object
net.sf.jailer.subsetting.SubsettingEngine
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexport(String whereClause, URL extractionModelURL, String scriptFile, String deleteScriptFileName, DataSource dataSource, DBMS dbms, ScriptFormat scriptFormat, int modelPoolSize) Exports entities.static voidregisterTmpURL(URL extractionModelURL, String name) Registers the real name of an extraction model for a temporary URL (GUI support).
-
Constructor Details
-
SubsettingEngine
Constructor.- Parameters:
executionContext- the execution context
-
-
Method Details
-
export
public ExportStatistic export(String whereClause, URL extractionModelURL, String scriptFile, String deleteScriptFileName, DataSource dataSource, DBMS dbms, ScriptFormat scriptFormat, int modelPoolSize) throws SQLException, IOException, SAXException Exports entities.- Parameters:
whereClause- optional WHERE clause to restrict the subject rows, ornullextractionModelURL- URL of the extraction modelscriptFile- name of the export script file to write, ornulldeleteScriptFileName- name of the delete script file to write, ornulldataSource- the data source to read fromdbms- the DBMS configurationscriptFormat- the output script formatmodelPoolSize- size of extraction-model pool- Returns:
- the export statistic
- Throws:
SQLExceptionIOExceptionSAXException
-
registerTmpURL
-