Building DataFlow Applications : Building DataFlow Applications Using RushScript
 
Share this page                  
Building DataFlow Applications Using RushScript
 
Overview of Scripting
Using Scripting Against API
Using DataFlow Scripting
RushScript Variables
Composing a Graph
Executing a Graph
Additional Scripting Features
Use Case Scenario for RushScript
Running from the Command Line
Integrating with IDE
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.
Using the Eclipse IDE. Debug and Profile launchers are provided for launching RushScript code within Eclipse. Instructions for installing this plugin are at Installing and Configuring the DataFlow Plugin to Eclipse IDE.
A Java API is provided for executing scripts.