Prepared statements
Apama applications can use prepared statements when executing queries. Prepared statements have the following performance advantages over standard queries:

The query does not need to be re-parsed each time it is used.

The query allows for replaceable parameters.