Interface StatementNameRuntimeOption
public interface StatementNameRuntimeOption
Implement this interface to provide a statement name at runtime for statements when they are deployed.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the statement name to assign to a newly-deployed statement.
-
Method Details
-
getStatementName
Returns the statement name to assign to a newly-deployed statement.Implementations would typically interrogate the context object EPL expression or module and module item information and determine the right statement name to assign.
When using HA the returned object must implement the Serializable interface.
- Parameters:
env
- the statement's deployment context- Returns:
- statement name or null if none needs to be assigned
-