Building DataFlow Applications Using RushScript
RushScript provides a simple way to compose and execute DataFlow applications. Based on JavaScript, RushScript is easy to learn and to use. Provided as a standard part of the DataFlow release, RushScript is available to all users of DataFlow.
The following are a few constraints of RushScript:
• RushScript does not provide an interactive environment. Many scripting environments provide such an environment where typing a line of script causes immediate interpretation and execution. RushScript, like the API environment, is used for application composition and execution.
• RushScript does not provide a way to build customer operators, functions or aggregators. Custom operators, functions and aggregators must be written in Java. However, you can access custom DataFlow functionality that you have built within RushScript.
RushScripts can be run by using:
• A command line script named "dr", provided with the DataFlow install. This executable can be used to launch RushScripts. Refer to the section on
Command Line Usage: dr for more information about the dr command.
• A Java API is provided for executing scripts.