Interface StatementSubstitutionParameterContext
- All Known Implementing Classes:
DeployerSubstitutionParameterHandler
public interface StatementSubstitutionParameterContext
Provides the environment to
StatementSubstitutionParameterOption
.-
Method Summary
Modifier and TypeMethodDescriptionReturns the annotationsReturns the deployment idgetEpl()
Returns the EPL when provided or null when not providedint
Returns the statement idReturns the statement nameReturns the parameter namesClass[]
Returns the parameter typesvoid
Sets the value of the designated parameter using the given object.void
Sets the value of the designated parameter using the given object.
-
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
Returns the parameter names- Returns:
- names
-
setObject
void setObject(int parameterIndex, Object value) throws com.espertech.esper.common.client.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:
com.espertech.esper.common.client.EPException
- if the substitution parameter could not be set
-
setObject
void setObject(String parameterName, Object value) throws com.espertech.esper.common.client.EPException Sets the value of the designated parameter using the given object.- Parameters:
parameterName
- the name of the parametervalue
- the object containing the input parameter value- Throws:
com.espertech.esper.common.client.EPException
- if the substitution parameter could not be set
-