Developing Apama Applications > Developing Apama Applications in Java > Overview of Apama Java Applications > About event types > Comparing Java and EPL event type parameters
Comparing Java and EPL event type parameters
EPL - You might already be familiar with EPL, the Apama complex event processing scripting language through which the correlator can be programmed as an alternative to Java. Event types defined in Java can be used in EPL, and vice-versa. Java event type parameters map to EPL parameter types as follows:
Java Type
Equivalent EPL Type
long
integer
double
float
boolean
boolean
String
string
Location
location
array
sequence (of the same type)
Map
dictionary (with the same key and value types)
com.apama.Event or its subclass
event (with the same equivalent subset of fields as defined in this table)
The correlator’s performance can be optimized by wildcarding event type definitions where appropriate. This procedure is described in Optimizing event types.
Copyright © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.