public class DeployerSubstitutionParameterHandler extends Object implements StatementSubstitutionParameterContext
Constructor and Description |
---|
DeployerSubstitutionParameterHandler(String deploymentId,
com.espertech.esper.common.internal.context.module.StatementLightweight lightweight,
Map<Integer,Map<Integer,Object>> provided,
Class[] types,
Map<String,Integer> names) |
Modifier and Type | Method and Description |
---|---|
Annotation[] |
getAnnotations()
Returns the annotations
|
String |
getDeploymentId()
Returns the deployment id
|
String |
getEpl()
Returns the EPL when provided or null when not provided
|
int |
getStatementId()
Returns the statement id
|
String |
getStatementName()
Returns the statement name
|
Map<String,Integer> |
getSubstitutionParameterNames()
Returns the parameter names
|
Class[] |
getSubstitutionParameterTypes()
Returns the parameter types
|
void |
setObject(int parameterIndex,
Object value)
Sets the value of the designated parameter using the given object.
|
void |
setObject(String parameterName,
Object value)
Sets the value of the designated parameter using the given object.
|
public String getDeploymentId()
StatementSubstitutionParameterContext
getDeploymentId
in interface StatementSubstitutionParameterContext
public String getStatementName()
StatementSubstitutionParameterContext
getStatementName
in interface StatementSubstitutionParameterContext
public int getStatementId()
StatementSubstitutionParameterContext
getStatementId
in interface StatementSubstitutionParameterContext
public String getEpl()
StatementSubstitutionParameterContext
getEpl
in interface StatementSubstitutionParameterContext
public Annotation[] getAnnotations()
StatementSubstitutionParameterContext
getAnnotations
in interface StatementSubstitutionParameterContext
public void setObject(int parameterIndex, Object value) throws com.espertech.esper.common.client.EPException
StatementSubstitutionParameterContext
setObject
in interface StatementSubstitutionParameterContext
parameterIndex
- the first parameter is 1, the second is 2, ...value
- the object containing the input parameter valuecom.espertech.esper.common.client.EPException
- if the substitution parameter could not be setpublic Class[] getSubstitutionParameterTypes()
StatementSubstitutionParameterContext
getSubstitutionParameterTypes
in interface StatementSubstitutionParameterContext
public Map<String,Integer> getSubstitutionParameterNames()
StatementSubstitutionParameterContext
getSubstitutionParameterNames
in interface StatementSubstitutionParameterContext
public void setObject(String parameterName, Object value) throws com.espertech.esper.common.client.EPException
StatementSubstitutionParameterContext
setObject
in interface StatementSubstitutionParameterContext
parameterName
- the name of the parametervalue
- the object containing the input parameter valuecom.espertech.esper.common.client.EPException
- if the substitution parameter could not be setCopyright © 2005–2018. All rights reserved.