org.apache.ibatis.executor.resultset
Class NestedResultSetHandler

java.lang.Object
  extended by org.apache.ibatis.executor.resultset.FastResultSetHandler
      extended by org.apache.ibatis.executor.resultset.NestedResultSetHandler
All Implemented Interfaces:
ResultSetHandler

public class NestedResultSetHandler
extends FastResultSetHandler


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.ibatis.executor.resultset.FastResultSetHandler
FastResultSetHandler.ResultColumnCache
 
Field Summary
 
Fields inherited from class org.apache.ibatis.executor.resultset.FastResultSetHandler
boundSql, configuration, executor, mappedStatement, objectFactory, parameterHandler, resultHandler, rowBounds, typeHandlerRegistry
 
Constructor Summary
NestedResultSetHandler(Executor executor, MappedStatement mappedStatement, ParameterHandler parameterHandler, ResultHandler resultHandler, BoundSql boundSql, RowBounds rowBounds)
           
 
Method Summary
protected  void cleanUpAfterHandlingResultSet()
           
protected  Object getRowValue(ResultSet rs, ResultMap resultMap, CacheKey combinedKey, CacheKey rowKey, String columnPrefix, FastResultSetHandler.ResultColumnCache resultColumnCache)
           
protected  Object getRowValue(ResultSet rs, ResultMap resultMap, CacheKey rowKey, FastResultSetHandler.ResultColumnCache resultColumnCache)
           
protected  void handleResultSet(ResultSet rs, ResultMap resultMap, List<Object> multipleResults, FastResultSetHandler.ResultColumnCache resultColumnCache)
           
protected  void handleRowValues(ResultSet rs, ResultMap resultMap, ResultHandler resultHandler, RowBounds rowBounds, FastResultSetHandler.ResultColumnCache resultColumnCache)
           
 
Methods inherited from class org.apache.ibatis.executor.resultset.FastResultSetHandler
applyAutomaticMappings, applyPropertyMappings, closeResultSet, collapseSingleResultList, createParameterizedResultObject, createPrimitiveResultObject, createResultObject, createResultObject, getDiscriminatorValue, getNestedQueryConstructorValue, getNestedQueryMappingValue, getNextResultSet, getPropertyMappingValue, handleOutputParameters, handleRefCursorOutputParameter, handleResultSets, instantiateParameterObject, instantiateResultLoaderMap, prepareCompositeKeyParameter, prepareParameterForNestedQuery, prepareSimpleKeyParameter, prependPrefix, prependPrefixes, resolveDiscriminatedResultMap, shouldApplyAutomaticMappings, shouldProcessMoreRows, skipRows, validateResultMapsCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NestedResultSetHandler

public NestedResultSetHandler(Executor executor,
                              MappedStatement mappedStatement,
                              ParameterHandler parameterHandler,
                              ResultHandler resultHandler,
                              BoundSql boundSql,
                              RowBounds rowBounds)
Method Detail

handleResultSet

protected void handleResultSet(ResultSet rs,
                               ResultMap resultMap,
                               List<Object> multipleResults,
                               FastResultSetHandler.ResultColumnCache resultColumnCache)
                        throws SQLException
Overrides:
handleResultSet in class FastResultSetHandler
Throws:
SQLException

cleanUpAfterHandlingResultSet

protected void cleanUpAfterHandlingResultSet()
Overrides:
cleanUpAfterHandlingResultSet in class FastResultSetHandler

handleRowValues

protected void handleRowValues(ResultSet rs,
                               ResultMap resultMap,
                               ResultHandler resultHandler,
                               RowBounds rowBounds,
                               FastResultSetHandler.ResultColumnCache resultColumnCache)
                        throws SQLException
Overrides:
handleRowValues in class FastResultSetHandler
Throws:
SQLException

getRowValue

protected Object getRowValue(ResultSet rs,
                             ResultMap resultMap,
                             CacheKey rowKey,
                             FastResultSetHandler.ResultColumnCache resultColumnCache)
                      throws SQLException
Overrides:
getRowValue in class FastResultSetHandler
Throws:
SQLException

getRowValue

protected Object getRowValue(ResultSet rs,
                             ResultMap resultMap,
                             CacheKey combinedKey,
                             CacheKey rowKey,
                             String columnPrefix,
                             FastResultSetHandler.ResultColumnCache resultColumnCache)
                      throws SQLException
Throws:
SQLException


Copyright © 2010-2012 MyBatis.org. All Rights Reserved.