This utility class performs the translation from the user specified program to the optimizer plan. It works as a visitor that walks the user's job in a depth-first fashion. During the descend, it creates an optimizer node for each operator, respectively data source or -sink. During the ascend, it connects the nodes to the full graph.
This translator relies on the setInputs method in the nodes. As that method implements the size estimation and the awareness for optimizer hints, the sizes will be properly estimated and the translated plan already respects all optimizer hints.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.