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