Apama Documentation : Developing Apama Applications : Developing Apama Applications in EPL : Defining What Happens When Matching Events Are Found : Using variables
Using variables
 
Using global variables
Using local variables
Using variables in listener actions
Specifying named constant values
EPL supports the use of variables in monitors. Depending on where in the monitor you declare a variable, that variable is global or local:
*Global. Variables declared in monitors and not inside actions or events are global variables. Global variables are in monitor scope.
*Local. Variables declared inside actions are local variables. Local variables are in action scope.
A variable can be of any of the following types: boolean, decimal, float, integer, string, action, context, dictionary, event, listener, location, sequence or stream. For details about these types, see Types.
Information about variables is presented in the topics below.
See also Using action type variables.
Copyright © 2013-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback