Class CSVExportTemplateSpec


public final class CSVExportTemplateSpec extends ImportExportTemplateSpec<EBXSourceTable,CSVTargetTable>
Template specification for CSV export.
Since:
4.1.0
  • Constructor Details

    • CSVExportTemplateSpec

      public CSVExportTemplateSpec(String templateId, File targetFile, com.orchestranetworks.service.Session session)
      Constructs a new CSVExportTemplateSpec 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 is null.
    • CSVExportTemplateSpec

      public CSVExportTemplateSpec(TemplateConfig<EBXSourceTable,CSVTargetTable> templateConfig, File targetFile, com.orchestranetworks.service.Session session)
      Constructs a new CSVExportTemplateSpec 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 is null.
      Since:
      4.5.0
  • Method Details

    • getTargetFile

      public File 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