|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.client.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.Map<java.lang.Integer,SubstitutionParameterExpression> subParams)
Ctor. |
Method Summary | |
---|---|
EPStatementObjectModel |
getModel()
Returns the statement object model for the prepared statement |
java.util.Map<java.lang.Integer,SubstitutionParameterExpression> |
getSubParams()
Returns the indexed substitution parameters. |
void |
setObject(int parameterIndex,
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.Map<java.lang.Integer,SubstitutionParameterExpression> subParams)
model
- is the statement object modelsubParams
- is the substitution parameter listMethod Detail |
---|
public void setObject(int parameterIndex, java.lang.Object value) throws EPException
EPPreparedStatement
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.util.Map<java.lang.Integer,SubstitutionParameterExpression> getSubParams()
|
© 2006-2011 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 |