Interface StatementSubstitutionParameterContext


public interface StatementSubstitutionParameterContext
Provides the environment to StatementSubstitutionParameterOption.
  • Method Details

    • getDeploymentId

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

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

      int getStatementId()
      Returns the statement id
      Returns:
      statement id
    • getEpl

      String getEpl()
      Returns the EPL when provided or null when not provided
      Returns:
      epl
    • getAnnotations

      Annotation[] getAnnotations()
      Returns the annotations
      Returns:
      annotations
    • getSubstitutionParameterTypes

      Class[] getSubstitutionParameterTypes()
      Returns the parameter types
      Returns:
      types
    • getSubstitutionParameterNames

      Map<String,Integer> getSubstitutionParameterNames()
      Returns the parameter names
      Returns:
      names
    • setObject

      void setObject(int parameterIndex, Object value) throws EPException
      Sets the value of the designated parameter using the given object.
      Parameters:
      parameterIndex - the first parameter is 1, the second is 2, ...
      value - the object containing the input parameter value
      Throws:
      EPException - if the substitution parameter could not be set
    • setObject

      void setObject(String parameterName, Object value) throws EPException
      Sets the value of the designated parameter using the given object.
      Parameters:
      parameterName - the name of the parameter
      value - the object containing the input parameter value
      Throws:
      EPException - if the substitution parameter could not be set