Table of Contents

Search

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