Class DeployerSubstitutionParameterHandler
java.lang.Object
com.espertech.esper.runtime.internal.kernel.service.DeployerSubstitutionParameterHandler
- All Implemented Interfaces:
StatementSubstitutionParameterContext
public class DeployerSubstitutionParameterHandler
extends Object
implements StatementSubstitutionParameterContext
-
Constructor Summary
-
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.
-
Constructor Details
-
DeployerSubstitutionParameterHandler
-
-
Method Details
-
getDeploymentId
Description copied from interface:StatementSubstitutionParameterContext
Returns the deployment id- Specified by:
getDeploymentId
in interfaceStatementSubstitutionParameterContext
- Returns:
- deployment id
-
getStatementName
Description copied from interface:StatementSubstitutionParameterContext
Returns the statement name- Specified by:
getStatementName
in interfaceStatementSubstitutionParameterContext
- Returns:
- statement name
-
getStatementId
public int getStatementId()Description copied from interface:StatementSubstitutionParameterContext
Returns the statement id- Specified by:
getStatementId
in interfaceStatementSubstitutionParameterContext
- Returns:
- statement id
-
getEpl
Description copied from interface:StatementSubstitutionParameterContext
Returns the EPL when provided or null when not provided- Specified by:
getEpl
in interfaceStatementSubstitutionParameterContext
- Returns:
- epl
-
getAnnotations
Description copied from interface:StatementSubstitutionParameterContext
Returns the annotations- Specified by:
getAnnotations
in interfaceStatementSubstitutionParameterContext
- Returns:
- annotations
-
setObject
public void setObject(int parameterIndex, Object value) throws com.espertech.esper.common.client.EPException Description copied from interface:StatementSubstitutionParameterContext
Sets the value of the designated parameter using the given object.- Specified by:
setObject
in interfaceStatementSubstitutionParameterContext
- 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
-
getSubstitutionParameterTypes
Description copied from interface:StatementSubstitutionParameterContext
Returns the parameter types- Specified by:
getSubstitutionParameterTypes
in interfaceStatementSubstitutionParameterContext
- Returns:
- types
-
getSubstitutionParameterNames
Description copied from interface:StatementSubstitutionParameterContext
Returns the parameter names- Specified by:
getSubstitutionParameterNames
in interfaceStatementSubstitutionParameterContext
- Returns:
- names
-
setObject
public void setObject(String parameterName, Object value) throws com.espertech.esper.common.client.EPException Description copied from interface:StatementSubstitutionParameterContext
Sets the value of the designated parameter using the given object.- Specified by:
setObject
in interfaceStatementSubstitutionParameterContext
- 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
-