public class EPPreparedStatementImpl extends Object implements EPPreparedStatement, EPOnDemandPreparedQueryParameterized, Serializable
Constructor and Description |
---|
EPPreparedStatementImpl(EPStatementObjectModel model,
List<SubstitutionParameterExpressionBase> subParams,
String optionalEPL)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
EPStatementObjectModel |
getModel()
Returns the statement object model for the prepared statement
|
String |
getOptionalEPL() |
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 EPPreparedStatementImpl(EPStatementObjectModel model, List<SubstitutionParameterExpressionBase> subParams, String optionalEPL)
model
- is the statement object modelsubParams
- is the substitution parameter listoptionalEPL
- the EPL provided if anypublic void setObject(String parameterName, Object value) throws EPException
EPPreparedStatement
setObject
in interface EPPreparedStatement
parameterName
- the name of the parametervalue
- the object containing the input parameter valueEPException
- if the substitution parameter could not be locatedpublic void setObject(int parameterIndex, Object value) throws EPException
EPPreparedStatement
setObject
in interface EPOnDemandPreparedQueryParameterized
setObject
in interface EPPreparedStatement
parameterIndex
- the first parameter is 1, the second is 2, ...value
- the object containing the input parameter valueEPException
- if the substitution parameter could not be locatedpublic EPStatementObjectModel getModel()
public String getOptionalEPL()