Class SQLImportTemplateSpec


public final class SQLImportTemplateSpec extends ImportExportTemplateSpec<SQLSourceTable,SQLTargetTable>
Template specification for SQL import.
Since:
4.4.0
  • Constructor Details

    • SQLImportTemplateSpec

      public SQLImportTemplateSpec(String templateId, com.orchestranetworks.service.Session session)
      Constructs a new SQLImportTemplateSpec instance.
      Parameters:
      templateId - The unique template id.
      session - The session.
      Throws:
      IllegalArgumentException - If any parameter is null.
    • SQLImportTemplateSpec

      public SQLImportTemplateSpec(TemplateConfig<SQLSourceTable,SQLTargetTable> templateConfig, com.orchestranetworks.service.Session session)
      Constructs a new SQLImportTemplateSpec instance.
      Parameters:
      templateConfig - The template configuration.
      session - The session.
      Throws:
      IllegalArgumentException - If any parameter is null.
      Since:
      4.5.0
  • Method Details

    • configureProcedure

      public void configureProcedure(Consumer<com.orchestranetworks.service.ProcedureContext> config)
      Configures the ProcedureContext instance when writing in EBX.
      Since:
      4.5.0
      See Also:
      • Procedure.execute(ProcedureContext)
    • getProcedureConfig

      public Consumer<com.orchestranetworks.service.ProcedureContext> getProcedureConfig()
      Returns the ProcedureContext configuration or null.
      Since:
      4.5.0
      See Also:
      • Procedure.execute(ProcedureContext)