Apama 10.3.1 | Apama Documentation | Developing Apama Applications | EPL Reference | Types | Default values for types
 
Default values for types
The following table lists the default values for the primitive types and reference types.
Type
Description
String form
action
An empty value that throws an exception if you try to execute the action.
any
Empty value.
any()
boolean
false
chunk
Contains no state. Each plug-in must define what to do upon receiving a default-initialized chunk as an argument.
context
An empty context that cannot be used in any meaningful way. To use this variable, you must explicitly assign a context that was created with a name.
decimal
0.0d
dictionary
Empty dictionary.
{}
event
Instance of the event where each of its fields has the standard default values as per this table.
event_name (default fields)
float
0.0
integer
0
listener
An empty listener that cannot be used in any meaningful way. To use this variable, you must assign a listener to it from within an on statement, from another listener variable, or from a stream listener in a from statement.
location
(0.0,0.0,0.0,0.0)
optional
Empty.
optional()
sequence
Empty sequence.
[]
stream
An empty stream that cannot be used in any meaningful way. To use the variable you must assign a non-empty stream to it.
string
Empty string.
""

Copyright © 2013-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.