Class DefaultResultContext<T>
- java.lang.Object
-
- org.apache.ibatis.executor.result.DefaultResultContext<T>
-
- All Implemented Interfaces:
ResultContext<T>
public class DefaultResultContext<T> extends Object implements ResultContext<T>
- Author:
- Clinton Begin
-
-
Constructor Summary
Constructors Constructor Description DefaultResultContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getResultCount()
T
getResultObject()
boolean
isStopped()
void
nextResultObject(T resultObject)
void
stop()
-
-
-
Method Detail
-
getResultObject
public T getResultObject()
- Specified by:
getResultObject
in interfaceResultContext<T>
-
getResultCount
public int getResultCount()
- Specified by:
getResultCount
in interfaceResultContext<T>
-
isStopped
public boolean isStopped()
- Specified by:
isStopped
in interfaceResultContext<T>
-
nextResultObject
public void nextResultObject(T resultObject)
-
stop
public void stop()
- Specified by:
stop
in interfaceResultContext<T>
-
-