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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.