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. Deduplicate transformation
  9. Expression transformation
  10. Filter transformation
  11. Hierarchy Builder transformation
  12. Hierarchy Parser transformation
  13. Hierarchy Processor transformation
  14. Input transformation
  15. Java transformation
  16. Java transformation API reference
  17. Joiner transformation
  18. Labeler transformation
  19. Lookup transformation
  20. Mapplet transformation
  21. Normalizer transformation
  22. Output transformation
  23. Parse transformation
  24. Python transformation
  25. Rank transformation
  26. Router transformation
  27. Rule Specification transformation
  28. Sequence Generator transformation
  29. Sorter transformation
  30. SQL transformation
  31. Structure Parser transformation
  32. Transaction Control transformation
  33. Union transformation
  34. Velocity transformation
  35. Verifier transformation
  36. Web Services transformation

Transformations

Transformations

Compile the code and run the mapping

Compile the code and run the mapping

To compile the Java code for the transformation, click
Compile
in the Java editor. After you compile the code successfully, you can run the mapping.
The compilation results displays the status of the compilation. If the Java code does not compile successfully, correct the errors in the Java editor and recompile the Java code. After you successfully compile the transformation, save and run the mapping.
To run the mapping, click
Run
in the Mapping Designer.
The target file contains the following results:
"EMP_ID","EMP_NAME","EMP_DESC","EMP_PARENT_EMPNAME" 1,"James Davis","CEO", 4,"Elaine Masters","Vice President - Sales","James Davis" 5,"Naresh Thiagarajan","Vice President - HR","James Davis" 6,"Jeanne Williams","Vice President - Software","James Davis" 9,"Geetha Manjunath","Senior HR Manager","Naresh Thiagarajan" 10,"Dan Thomas","Senior Software Manager","Jeanne Williams" 14,"Shankar Rahul","Senior Software Manager","Jeanne Williams" 20,"Juan Cardenas","Technical Lead","Dan Thomas" 21,"Pramodh Rahman","Lead Engineer","Shankar Rahul" 22,"Sandra Patterson","Software Engineer","Dan Thomas" 23,"Tom Kelly","Lead Engineer","Dan Thomas" 35,"Betty Johnson","Lead Engineer","Shankar Rahul" 50,"Dave Chu","Software Engineer","Tom Kelly" 70,"Srihari Giran","Software Engineer","Betty Johnson" 71,"Frank Smalls","Software Engineer","Betty Johnson"