com.ibatis.sqlmap.engine.mapping.statement
Interface MappedStatement

All Known Implementing Classes:
BaseStatement, CachingStatement

public interface MappedStatement


Method Summary
 void addExecuteListener(ExecuteListener listener)
           
 java.util.List executeQueryForList(RequestScope request, Transaction trans, java.lang.Object parameterObject, int skipResults, int maxResults)
           
 java.lang.Object executeQueryForObject(RequestScope request, Transaction trans, java.lang.Object parameterObject, java.lang.Object resultObject)
           
 void executeQueryWithRowHandler(RequestScope request, Transaction trans, java.lang.Object parameterObject, RowHandler rowHandler)
           
 int executeUpdate(RequestScope request, Transaction trans, java.lang.Object parameterObject)
           
 ResultMap[] getAdditionalResultMaps()
           
 CacheKey getCacheKey(RequestScope request, java.lang.Object parameterObject)
           
 java.lang.Integer getFetchSize()
           
 java.lang.String getId()
           
 java.lang.Class getParameterClass()
           
 ParameterMap getParameterMap()
           
 ResultMap getResultMap()
           
 java.lang.Integer getResultSetType()
           
 Sql getSql()
           
 StatementType getStatementType()
           
 java.lang.Integer getTimeout()
           
 boolean hasMultipleResultMaps()
           
 void initRequest(RequestScope request)
           
 void notifyListeners()
           
 void setBaseCacheKey(int base)
           
 

Method Detail

getId

public java.lang.String getId()

getStatementType

public StatementType getStatementType()

getResultSetType

public java.lang.Integer getResultSetType()

executeUpdate

public int executeUpdate(RequestScope request,
                         Transaction trans,
                         java.lang.Object parameterObject)
                  throws java.sql.SQLException
Throws:
java.sql.SQLException

executeQueryForObject

public java.lang.Object executeQueryForObject(RequestScope request,
                                              Transaction trans,
                                              java.lang.Object parameterObject,
                                              java.lang.Object resultObject)
                                       throws java.sql.SQLException
Throws:
java.sql.SQLException

executeQueryForList

public java.util.List executeQueryForList(RequestScope request,
                                          Transaction trans,
                                          java.lang.Object parameterObject,
                                          int skipResults,
                                          int maxResults)
                                   throws java.sql.SQLException
Throws:
java.sql.SQLException

executeQueryWithRowHandler

public void executeQueryWithRowHandler(RequestScope request,
                                       Transaction trans,
                                       java.lang.Object parameterObject,
                                       RowHandler rowHandler)
                                throws java.sql.SQLException
Throws:
java.sql.SQLException

getCacheKey

public CacheKey getCacheKey(RequestScope request,
                            java.lang.Object parameterObject)

getParameterMap

public ParameterMap getParameterMap()

getResultMap

public ResultMap getResultMap()

setBaseCacheKey

public void setBaseCacheKey(int base)

addExecuteListener

public void addExecuteListener(ExecuteListener listener)

notifyListeners

public void notifyListeners()

initRequest

public void initRequest(RequestScope request)

getSql

public Sql getSql()

getParameterClass

public java.lang.Class getParameterClass()

getFetchSize

public java.lang.Integer getFetchSize()

getTimeout

public java.lang.Integer getTimeout()

hasMultipleResultMaps

public boolean hasMultipleResultMaps()

getAdditionalResultMaps

public ResultMap[] getAdditionalResultMaps()