Top Inners Fields Constructors Methods
org.jooq.impl

pack-priv final Class CursorImpl<R extends org.jooq.Record>

extends AbstractCursor<R extends Record>
Class Inheritance
Static Imports
java.lang.Boolean.TRUE, java.util.Collections.emptyList, org.jooq.impl.RowAsField.NO_NATIVE_SUPPORT, .Tools.embeddedFields, .Tools.embeddedRecordType, .Tools.recordFactory, .Tools.uncoerce, .Tools.BooleanDataKey.DATA_MULTISET_CONTENT

Author
Lukas Eder

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv class
CursorImpl.CursorIterator

An iterator for records fetched by this cursor

pack-priv static class
CursorImpl.CursorRecordInitialiser

A utility to initialise records and transfer data in a RecordDelegate.

pack-priv class
CursorImpl.CursorResultSet

Deprecated as a consequence of JDBC41ResultSet being deprecated.
A wrapper for the underlying JDBC ResultSet and Statement

Field Summary

Modifier and TypeField and Description
private final boolean
pack-priv final ExecuteContext
private final Supplier<? extends R>
private final boolean[]
private boolean
private transient Iterator<R>
private final boolean
private final boolean
pack-priv final ExecuteListener
private static final JooqLogger
private final int
private transient int
private transient CursorImpl<R>.CursorResultSet
rs

Deprecated as a consequence of CursorImpl.CursorResultSet being deprecated.

Constructor Summary

AccessConstructor and Description
pack-priv
CursorImpl(ExecuteContext ctx, ExecuteListener listener, Field<?>[] fields, int[] internIndexes, boolean keepStatement, boolean keepResultSet)

Deprecated as a consequence of Field being deprecated.
pack-priv
CursorImpl(ExecuteContext ctx, ExecuteListener listener, Field<?>[] fields, int[] internIndexes, boolean keepStatement, boolean keepResultSet, Class<? extends R> type, int maxRows, boolean autoclosing)

Deprecated as a consequence of Field being deprecated.

Method Summary

Modifier and TypeMethod and Description
public final void
close()

Implements org.jooq.Cursor.close.

Explicitly close the underlying PreparedStatement and ResultSet.
public final Result<R>
fetchNext(int
The number of records to fetch. If this is 0 or negative an empty list is returned, the cursor is untouched. If this is greater than the number of remaining records, then all remaining records are returned.
number
)

Implements org.jooq.Cursor.fetchNext.

Fetch the next couple of records from the cursor.
pack-priv final List<? extends Attachable>
public final boolean
isClosed()

Implements org.jooq.Cursor.isClosed.

Check whether this Cursor has been explicitly or "conveniently" closed.
public final Iterator<R>
iterator()

Implements java.lang.Iterable.iterator.

Returns an iterator over elements of type T.
public final ResultSet
resultSet()

Implements org.jooq.Cursor.resultSet.

Get the Cursor's underlying ResultSet.
Inherited from org.jooq.impl.AbstractCursor:
collectfetchfetchfetchfetchIntofetchIntofetchIntofetchNextfetchNextfetchNextIntofetchNextIntofetchNextIntofetchNextOptionalfetchNextOptionalfetchNextOptionalIntofetchNextOptionalIntofetchOnefetchOnefetchOneIntofetchOneIntofetchOneIntofetchOptionalfetchOptionalfetchOptionalIntofetchOptionalIntohasNextstream