Interface StatementSubstitutionParameterContext
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
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
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:
EPException
- if the substitution parameter could not be set
-