Class FBUpdatableCursorFetcher


  • public class FBUpdatableCursorFetcher
    extends java.lang.Object
    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, Mark Rotteveel
    • Method Detail

      • next

        public boolean next()
                     throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • isLast

        public boolean isLast()
                       throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getNextRow

        protected RowValue getNextRow()
                               throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • setNextRow

        protected void setNextRow​(RowValue nextRow)
      • absolute

        public boolean absolute​(int row)
                         throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • first

        public boolean first()
                      throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • last

        public boolean last()
                     throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • previous

        public boolean previous()
                         throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • relative

        public boolean relative​(int row)
                         throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • beforeFirst

        public void beforeFirst()
                         throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • afterLast

        public void afterLast()
                       throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • fetch

        public void fetch()
                   throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • close

        public void close()
                   throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • close

        public void close​(CompletionReason completionReason)
                   throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getRowNum

        public int getRowNum()
      • setRowNum

        public void setRowNum​(int rowNumValue)
      • isEmpty

        public boolean isEmpty()
                        throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • setIsEmpty

        public void setIsEmpty​(boolean isEmptyValue)
      • isBeforeFirst

        public boolean isBeforeFirst()
                              throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • setIsBeforeFirst

        public void setIsBeforeFirst​(boolean isBeforeFirstValue)
      • isFirst

        public boolean isFirst()
                        throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • setIsFirst

        public void setIsFirst​(boolean isFirstValue)
      • setIsLast

        public void setIsLast​(boolean isLastValue)
      • isAfterLast

        public boolean isAfterLast()
                            throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • setIsAfterLast

        public void setIsAfterLast​(boolean isAfterLastValue)
      • deleteRow

        public void deleteRow()
                       throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • insertRow

        public void insertRow​(RowValue data)
                       throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • updateRow

        public void updateRow​(RowValue data)
                       throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • setFetchSize

        public void setFetchSize​(int fetchSize)
      • getFetchSize

        public int getFetchSize()