Class EBXTransferTemplateSpec

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addTargetDatasets​(java.util.List<com.onwbp.adaptation.Adaptation> datasets)
      Adds target datasets to overwrite those configured in the template.
      void configureProcedure​(java.util.function.Consumer<com.orchestranetworks.service.ProcedureContext> config)
      Configures the ProcedureContext instance when writing in EBX.
      java.util.function.Consumer<com.orchestranetworks.service.ProcedureContext> getProcedureConfig()
      Returns the ProcedureContext configuration or null.
      com.onwbp.adaptation.Adaptation getSourceDataset()
      Returns the source dataset that overwrites the one configured in the template.
      java.util.List<com.onwbp.adaptation.Adaptation> getTargetDatasets()
      Returns the target datasets that overwrite those configured in the template.
      void setRequest​(com.orchestranetworks.schema.Path tablePath, com.onwbp.adaptation.Request request)
      Sets the request to filter records for specific table.
      void setSourceDataset​(com.onwbp.adaptation.Adaptation dataset)
      Overwrites the source dataset configured in the template.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EBXTransferTemplateSpec

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

        public EBXTransferTemplateSpec​(TemplateConfig<EBXSourceTable,​EBXTargetTable> templateConfig,
                                       com.orchestranetworks.service.Session session)
        Constructs a new instance.
        Parameters:
        templateConfig - The template configuration.
        session - The session.
        Throws:
        java.lang.IllegalArgumentException - If any parameter is null.
        Since:
        4.5.0
    • Method Detail

      • setSourceDataset

        public void setSourceDataset​(com.onwbp.adaptation.Adaptation dataset)
        Overwrites the source dataset configured in the template.
        Parameters:
        dataset - the dataset that overwrites the existing dataset.
        Since:
        4.3.2
      • getSourceDataset

        public com.onwbp.adaptation.Adaptation getSourceDataset()
        Returns the source dataset that overwrites the one configured in the template.

        Returns null if not set.

        Since:
        4.3.2
        See Also:
        setSourceDataset(Adaptation)
      • addTargetDatasets

        public void addTargetDatasets​(java.util.List<com.onwbp.adaptation.Adaptation> datasets)
        Adds target datasets to overwrite those configured in the template.
        Parameters:
        datasets - list of datasets that overwrites the existing datasets.
        Since:
        4.3.2
      • getTargetDatasets

        public java.util.List<com.onwbp.adaptation.Adaptation> getTargetDatasets()
        Returns the target datasets that overwrite those configured in the template.
        Since:
        4.3.2
        See Also:
        addTargetDatasets(List)
      • configureProcedure

        public void configureProcedure​(java.util.function.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 java.util.function.Consumer<com.orchestranetworks.service.ProcedureContext> getProcedureConfig()
        Returns the ProcedureContext configuration or null.
        Since:
        4.5.0
        See Also:
        Procedure.execute(ProcedureContext)
      • 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