Class DefaultResultContext<T>
- java.lang.Object
-
- org.apache.ibatis.executor.result.DefaultResultContext<T>
-
- All Implemented Interfaces:
ResultContext<T>
public class DefaultResultContext<T> extends java.lang.Object implements ResultContext<T>
- Author:
- Clinton Begin
-
-
Constructor Summary
Constructors Constructor Description DefaultResultContext()
-
Method Summary
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>
-
-