Table of Contents

Search

  1. Preface
  2. Transformations
  3. Source transformation
  4. Target transformation
  5. Aggregator transformation
  6. Cleanse transformation
  7. Data Masking transformation
  8. Data Services transformation
  9. Deduplicate transformation
  10. Expression transformation
  11. Filter transformation
  12. Hierarchy Builder transformation
  13. Hierarchy Parser transformation
  14. Hierarchy Processor transformation
  15. Input transformation
  16. Java transformation
  17. Java transformation API reference
  18. Joiner transformation
  19. Labeler transformation
  20. Lookup transformation
  21. Machine Learning transformation
  22. Mapplet transformation
  23. Normalizer transformation
  24. Output transformation
  25. Parse transformation
  26. Python transformation
  27. Rank transformation
  28. Router transformation
  29. Rule Specification transformation
  30. Sequence Generator transformation
  31. Sorter transformation
  32. SQL transformation
  33. Structure Parser transformation
  34. Transaction Control transformation
  35. Union transformation
  36. Velocity transformation
  37. Verifier transformation
  38. Web Services transformation

Transformations

Transformations

Configure the mapping

Configure the mapping

To configure the mapping in this example, create a new mapping, and add a Java transformation. Then configure the source fields, target fields, and Java transformation fields. In the Java transformation, verify that the transformation behavior is active.
The following image shows the mapping:
The example mapping shows Source transformation "src_Emp" connected to downstream Java transformation "java_FindEmpMgr." The Java transformation is connected to Target transformation "tgt_EmpWithMgr."
Configure the transformations as follows:
Source transformation
In the Source transformation, update the source field metadata as shown in the following table:
Name
Type
Precision
Scale
Origin
EMP_ID
integer
10
0
<source file name>
EMP_NAME
string
100
0
<source file name>
EMP_DESC
string
100
0
<source file name>
EMP_AGE
integer
10
0
<source file name>
EMP_PARENT_EMPID
integer
10
0
<source file name>
Java transformation
The Java transformation includes all incoming fields from the Source transformation.
Create the following output fields:
Name
Type
Precision
Scale
EMP_ID_OUT
integer
10
0
EMP_NAME_OUT
string
100
0
EMP_DESC_OUT
string
100
0
EMP_PARENT_EMPNAME
string
100
0
On the
Advanced
tab, verify that the behavior is set to active.
Target transformation
In the target transformation, create the following target fields:
Name
Type
Precision
Scale
Origin
EMP_ID
integer
10
0
<target file name>
EMP_NAME
string
100
0
<target file name>
EMP_DESC
string
100
0
<target file name>
EMP_PARENT_EMPNAME
string
100
0
<target file name>
Configure the field mapping as shown in the following table:
Target Field Name
Mapped Field
EMP_ID
EMP_ID_OUT
EMP_NAME
EMP_NAME_OUT
EMP_DESC
EMP_DESC_OUT
EMP_PARENT_EMPNAME
EMP_PARENT_EMPNAME

0 COMMENTS

We’d like to hear from you!