Merge Mapper is a converter to combine data read from multiple input source components in accordance with the mapping definition and write it to the following components.
For input/output schema of Document Mapper and output schema of Merge Mapper, when data flow is removed, the schema that has been set will be retained. This is called "Temporary schema".
The component icon name part of temporary schema is displayed as “Temporary schema” to distinguish from normal schemas.
When the Mapper is connected to another component through a data flow, the temporary schema will be restored to normal schema.
With temporary schema, mapping links remain even if its corresponding data flow is removed, and you can edit schema even if the Mapper is not connected to a component.
On the other hand, when the data flow is removed from Mappers without temporary schema (input schema of Variable Mapper and Merge Mapper), the schema will be reset and the mapping links will be removed.
To edit schema before setting data flows, you can set a temporary schema manually.
Select [Set temporary schema] from the right-click menu.
Output processing data log function is the function to output data information processed with Mapper logic to the log.
As this log is output in the order of internal process of Mapper, you can know how the data conversion/processing is done in detail.
With this function, it is possible to create a conversion/processing while checking the operation of actual data, and therefore you can develop a mapping efficiently.
Targets for outputting log and the log levels are as follows.
Target
Log level
Input/Output data of Mapper logic
DEBUG
Data output into output schema
DEBUG
The details of output contents are as follows.
Input/Output data of Mapper logic
Input/Output data of Mapper logic are output in DEBUG log level.
The format varies depending on the number of input handlers.
Data output into output schema is output in DEBUG log level.
The format differs depending on whether the data model of output data is table model type or XML type.
The attribute in output schema is output as “@<attribute name>”. The prefix of name space in output schema is output as “<prefix>:” before element name and attribute name.
If logic uses Mapper logics corresponding to [Criterion] for determination.
Its input data will be output as logs of Mapper logics used for [Criterion].
Output example
[Single-line String Constant] OUT=[Sample][Single-line String Constant] OUT=[Data]
[Equal] IN=[Sample][Data] | OUT=[false]
[Single-line String Constant] OUT=[<output of when false>]
[If] OUT=[<output of when false>]
Specification Limits
When the input handler type of Mapper logic is "Node set", input data log will not be output.
When null is input in Mapper logic which has one or more input handlers, input data might not be output.
Input/Output data logs for the following Mapper logics are not output.
Merge
Or-Append Merge
Or-Integrate Merge
And-Append Merge
And-Integrate Merge
Left-Right-Join Merge
Others
Output by XPath Expression
Input data logs for the following Mapper logics are not output.