Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learning Pentaho Data Integration 8 CE - Third Edition

You're reading from  Learning Pentaho Data Integration 8 CE - Third Edition

Product type Book
Published in Dec 2017
Publisher Packt
ISBN-13 9781788292436
Pages 500 pages
Edition 3rd Edition
Languages

Table of Contents (23) Chapters

Title Page
Credits
About the Author
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface
Getting Started with Pentaho Data Integration Getting Started with Transformations Creating Basic Task Flows Reading and Writing Files Manipulating PDI Data and Metadata Controlling the Flow of Data Cleansing, Validating, and Fixing Data Manipulating Data by Coding Transforming the Dataset Performing Basic Operations with Databases Loading Data Marts with PDI Creating Portable and Reusable Transformations Implementing Metadata Injection Creating Advanced Jobs Launching Transformations and Jobs from the Command Line Best Practices for Designing and Deploying a PDI Project

Doing simple tasks with the Java Class step


Just as the JavaScript step, the User Defined Java Class step is also meant to insert code into your transformations but in this case, it's Java code. Whether you need to implement a functionality not provided in built-in steps or want to reuse some external Java code, or to access Java libraries, or to increase performance, this step is what you need. In this section, you will learn how to use it.

Using the Java language in PDI

Java—originally developed at Sun Microsystems, which then merged into Oracle Corporation—is one of the most popular programming languages in use, particularly for client-server web applications. In particular, PDI and the whole Pentaho platform have been developed using Java as the core language.

It was to be expected that eventually, a step would appear that allows you to code Java inside PDI. This step is User Defined Java Class, which we will call UDJC or Java Class step for short. The goal of this step is to allow you...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}