public class DefaultCursor<T> extends Object implements Cursor<T>
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
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–2017 MyBatis.org. All rights reserved.