Interface Cursor

    • Method Detail

      • createAccessors

        java.util.List<Cursor.Accessor> createAccessors​(java.util.List<ColumnMetaData> types,
                                                        java.util.Calendar localCalendar,
                                                        ArrayImpl.Factory factory)
        Creates a list of accessors, one per column.
        Parameters:
        types - List of column types, per Types.
        localCalendar - Calendar in local time zone
        factory - Factory that creates sub-ResultSets when needed
        Returns:
        List of column accessors
      • next

        boolean next()
              throws java.sql.SQLException
        Moves to the next row.
        Returns:
        Whether moved
        Throws:
        java.sql.SQLException - on database error
      • close

        void close()
        Closes this cursor and releases resources.
        Specified by:
        close in interface java.lang.AutoCloseable
      • wasNull

        boolean wasNull()
                 throws java.sql.SQLException
        Returns whether the last value returned was null.
        Throws:
        java.sql.SQLException - on database error