Class CSVExportTemplateSpec
java.lang.Object
com.orchestranetworks.addon.dint.template.TemplateSpec<ST,TT>
com.orchestranetworks.addon.dint.template.ImportExportTemplateSpec<EBXSourceTable,CSVTargetTable>
com.orchestranetworks.addon.dint.template.CSVExportTemplateSpec
public final class CSVExportTemplateSpec
extends ImportExportTemplateSpec<EBXSourceTable,CSVTargetTable>
Template specification for CSV export.
- Since:
- 4.1.0
-
Constructor Summary
ConstructorDescriptionCSVExportTemplateSpec
(TemplateConfig<EBXSourceTable, CSVTargetTable> templateConfig, File targetFile, com.orchestranetworks.service.Session session) Constructs a newCSVExportTemplateSpec
instance.CSVExportTemplateSpec
(String templateId, File targetFile, com.orchestranetworks.service.Session session) Constructs a newCSVExportTemplateSpec
instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns the target file.void
setRequest
(com.orchestranetworks.schema.Path tablePath, com.onwbp.adaptation.Request request) Sets the request to filter records for specific table.Methods inherited from class com.orchestranetworks.addon.dint.template.ImportExportTemplateSpec
getDataset, setDataset
Methods inherited from class com.orchestranetworks.addon.dint.template.TemplateSpec
getSession, getTemplateConfig, getTemplateId
-
Constructor Details
-
CSVExportTemplateSpec
public CSVExportTemplateSpec(String templateId, File targetFile, com.orchestranetworks.service.Session session) Constructs a newCSVExportTemplateSpec
instance.- Parameters:
templateId
- The unique template id.targetFile
- The target CSV file for export on table, or the archive file for export on dataset.session
- The session.- Throws:
IllegalArgumentException
- If any parameter isnull
.
-
CSVExportTemplateSpec
public CSVExportTemplateSpec(TemplateConfig<EBXSourceTable, CSVTargetTable> templateConfig, File targetFile, com.orchestranetworks.service.Session session) Constructs a newCSVExportTemplateSpec
instance.- Parameters:
templateConfig
- The template configuration.targetFile
- The target CSV file when exporting a table, or archive file when exporting a dataset.session
- The session.- Throws:
IllegalArgumentException
- If any parameter isnull
.- Since:
- 4.5.0
-
-
Method Details
-
getTargetFile
Returns the target file. -
setRequest
public void setRequest(com.orchestranetworks.schema.Path tablePath, com.onwbp.adaptation.Request request) Sets the request to filter records for specific table.- Since:
- 6.1.0
-