org.firebirdsql.jdbc

Class FBUpdatableCursorFetcher

Implemented Interfaces:
org.firebirdsql.jdbc.FBFetcher

public class FBUpdatableCursorFetcher
extends org.firebirdsql.jdbc.FBStatementFetcher

Statement fetcher for updatable cursor case. This fetcher keeps cursor position consistent, however we cannot tell now if we are on the last record. Method isLast()throws exception now.
Author:
Roman Rokytskyy

Field Summary

Fields inherited from class org.firebirdsql.jdbc.FBStatementFetcher

_nextRow, fetchSize, fetcherListener, gdsHelper, maxRows, stmt, syncProvider

Fields inherited from interface org.firebirdsql.jdbc.FBFetcher

MAX_FETCH_ROWS

Method Summary

boolean
isLast()
boolean
next()

Methods inherited from class org.firebirdsql.jdbc.FBStatementFetcher

absolute, afterLast, beforeFirst, close, deleteRow, fetch, first, getFetchSize, getNextRow, getRowNum, insertRow, isAfterLast, isBeforeFirst, isEmpty, isFirst, isLast, last, next, previous, relative, setFetchSize, setIsAfterLast, setIsBeforeFirst, setIsEmpty, setIsFirst, setIsLast, setNextRow, setRowNum, updateRow

Method Details

isLast

public boolean isLast()
            throws SQLException
Specified by:
isLast in interface org.firebirdsql.jdbc.FBFetcher
Overrides:
isLast in interface org.firebirdsql.jdbc.FBStatementFetcher

next

public boolean next()
            throws SQLException
Specified by:
next in interface org.firebirdsql.jdbc.FBFetcher
Overrides:
next in interface org.firebirdsql.jdbc.FBStatementFetcher

Copyright B) 2001 David Jencks and other authors. All rights reserved.