Modifier and Type | Class and Description |
---|---|
protected class |
DefaultCursor.CursorIterator |
protected static class |
DefaultCursor.ObjectWrapperResultHandler<T> |
Modifier and Type | Field and Description |
---|---|
protected DefaultCursor.ObjectWrapperResultHandler<T> |
objectWrapperResultHandler |
Constructor and Description |
---|
DefaultCursor(DefaultResultSetHandler resultSetHandler,
ResultMap resultMap,
ResultSetWrapper rsw,
RowBounds rowBounds) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected T |
fetchNextObjectFromDatabase() |
protected T |
fetchNextUsingRowBound() |
int |
getCurrentIndex()
Get the current item index.
|
boolean |
isConsumed() |
boolean |
isOpen() |
Iterator<T> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
protected final DefaultCursor.ObjectWrapperResultHandler<T> objectWrapperResultHandler
public DefaultCursor(DefaultResultSetHandler resultSetHandler, ResultMap resultMap, ResultSetWrapper rsw, RowBounds rowBounds)
public boolean isOpen()
public boolean isConsumed()
isConsumed
in interface Cursor<T>
public int getCurrentIndex()
Cursor
getCurrentIndex
in interface Cursor<T>
public void close()
close
in interface Closeable
close
in interface AutoCloseable
protected T fetchNextUsingRowBound()
protected T fetchNextObjectFromDatabase()
Copyright © 2009–2021 MyBatis.org. All rights reserved.