initialize() method

public void initialize()

The Java Pack API calls the initialize() method when a Java Client or Java Transformer stage starts. Override the initialize() method in your Stage subclass if you need to perform actions before processing any input or output rows. Examples include setting counters, reading user properties in the Java Pack stages, and opening database connections.