Time for action – counting frequent words by coding in Java

In this section, we will redo the transformation from the Time for action – counting frequent words by coding in JavaScript section, but this time we will code in Java rather than in JavaScript.

  1. Open the transformation from the Time for action – counting frequent words by coding in JavaScript section of this chapter and save it as a new transformation.
  2. Delete the JavaScript step and in its place, add a User Defined Java Class step. You will find it under the Scripting category of steps. You will have the following:
    Time for action – counting frequent words by coding in Java
  3. Double-click on the User Defined Java Class step—UDJC from now on—and in the ...

Get Pentaho Data Integration Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.