Class StatementNameRuntimeContext
java.lang.Object
com.espertech.esper.runtime.client.option.StatementNameRuntimeContext
Provides the environment to
StatementNameRuntimeOption
.-
Constructor Summary
ConstructorDescriptionStatementNameRuntimeContext
(String deploymentId, String statementName, int statementId, String epl, Annotation[] annotations) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the annotations.Returns the deployment idgetEpl()
Returns the EPL when attached or null when not availableint
Returns the statement idReturns the statement name
-
Constructor Details
-
StatementNameRuntimeContext
public StatementNameRuntimeContext(String deploymentId, String statementName, int statementId, String epl, Annotation[] annotations) Ctor.- Parameters:
deploymentId
- deployment idstatementName
- statement namestatementId
- statement numberepl
- epl when attached or nullannotations
- annotations
-
-
Method Details
-
getDeploymentId
Returns the deployment id- Returns:
- deployment id
-
getStatementName
Returns the statement name- Returns:
- statement name
-
getStatementId
public int getStatementId()Returns the statement idThe statement number is a runtime-internal number for tracking of deployed statements
- Returns:
- statement id
-
getEpl
Returns the EPL when attached or null when not available- Returns:
- epl
-
getAnnotations
Returns the annotations.- Returns:
- annotations
-