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

Defining a Java transformation

Defining a Java transformation

To define a Java transformation, configure the transformation fields and properties, enter Java code snippets on the
Java
tab, and compile the code.
If you use third-party or custom Java packages, before you create a Java transformation, configure the classpaths to use when you compile the code and when you run the mapping that contains the transformation.
  1. In the Mapping Designer, drag a Java transformation from the transformations palette onto the canvas and connect it to the upstream and downstream transformations.
  2. Configure incoming field rules and output fields for the transformation.
  3. Configure the transformation properties.
  4. Write the Java code snippets that define the transformation functionality.
  5. Compile the code.
  6. Locate and fix compilation errors.