|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.core.service.EPPreparedStatementImpl
public class EPPreparedStatementImpl
Prepared statement implementation that stores the statement object model and a list of substitution parameters, to be mapped into an internal representation upon creation.
Constructor Summary | |
---|---|
EPPreparedStatementImpl(EPStatementObjectModel model,
java.util.List<SubstitutionParameterExpressionBase> subParams,
java.lang.String optionalEPL)
Ctor. |
Method Summary | |
---|---|
EPStatementObjectModel |
getModel()
Returns the statement object model for the prepared statement |
java.lang.String |
getOptionalEPL()
|
void |
setObject(int parameterIndex,
java.lang.Object value)
Sets the value of the designated parameter using the given object. |
void |
setObject(java.lang.String parameterName,
java.lang.Object value)
Sets the value of the designated parameter using the given object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EPPreparedStatementImpl(EPStatementObjectModel model, java.util.List<SubstitutionParameterExpressionBase> subParams, java.lang.String optionalEPL)
model
- is the statement object modelsubParams
- is the substitution parameter listoptionalEPL
- the EPL provided if anyMethod Detail |
---|
public void setObject(java.lang.String parameterName, java.lang.Object value) throws EPException
EPPreparedStatement
setObject
in interface EPPreparedStatement
parameterName
- the name of the parametervalue
- the object containing the input parameter value
EPException
- if the substitution parameter could not be locatedpublic void setObject(int parameterIndex, java.lang.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 value
EPException
- if the substitution parameter could not be locatedpublic EPStatementObjectModel getModel()
public java.lang.String getOptionalEPL()
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |