Class StatementNameRuntimeContext

java.lang.Object
com.espertech.esper.runtime.client.option.StatementNameRuntimeContext

public class StatementNameRuntimeContext extends Object
Provides the environment to StatementNameRuntimeOption.
  • Constructor Details

    • StatementNameRuntimeContext

      public StatementNameRuntimeContext(String deploymentId, String statementName, int statementId, String epl, Annotation[] annotations)
      Ctor.
      Parameters:
      deploymentId - deployment id
      statementName - statement name
      statementId - statement number
      epl - epl when attached or null
      annotations - annotations
  • Method Details

    • getDeploymentId

      public String getDeploymentId()
      Returns the deployment id
      Returns:
      deployment id
    • getStatementName

      public String getStatementName()
      Returns the statement name
      Returns:
      statement name
    • getStatementId

      public int getStatementId()
      Returns the statement id

      The statement number is a runtime-internal number for tracking of deployed statements

      Returns:
      statement id
    • getEpl

      public String getEpl()
      Returns the EPL when attached or null when not available
      Returns:
      epl
    • getAnnotations

      public Annotation[] getAnnotations()
      Returns the annotations.
      Returns:
      annotations