Class SQLite4JResultSet

  • All Implemented Interfaces:
    java.lang.AutoCloseable, ResultSet

    public class SQLite4JResultSet
    extends java.lang.Object
    implements ResultSet
    • Constructor Detail

      • SQLite4JResultSet

        public SQLite4JResultSet​(java.sql.ResultSet rs)
    • Method Detail

      • next

        public boolean next()
                     throws java.sql.SQLException
        Specified by:
        next in interface ResultSet
        Throws:
        java.sql.SQLException
      • close

        public void close()
                   throws java.sql.SQLException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface ResultSet
        Throws:
        java.sql.SQLException
      • wasNull

        public boolean wasNull()
                        throws java.sql.SQLException
        Specified by:
        wasNull in interface ResultSet
        Throws:
        java.sql.SQLException
      • getString

        public java.lang.String getString​(int columnIndex)
                                   throws java.sql.SQLException
        Specified by:
        getString in interface ResultSet
        Throws:
        java.sql.SQLException
      • getBoolean

        public boolean getBoolean​(int columnIndex)
                           throws java.sql.SQLException
        Specified by:
        getBoolean in interface ResultSet
        Throws:
        java.sql.SQLException
      • getByte

        public byte getByte​(int columnIndex)
                     throws java.sql.SQLException
        Specified by:
        getByte in interface ResultSet
        Throws:
        java.sql.SQLException
      • getShort

        public short getShort​(int columnIndex)
                       throws java.sql.SQLException
        Specified by:
        getShort in interface ResultSet
        Throws:
        java.sql.SQLException
      • getInt

        public int getInt​(int columnIndex)
                   throws java.sql.SQLException
        Specified by:
        getInt in interface ResultSet
        Throws:
        java.sql.SQLException
      • getLong

        public long getLong​(int columnIndex)
                     throws java.sql.SQLException
        Specified by:
        getLong in interface ResultSet
        Throws:
        java.sql.SQLException
      • getFloat

        public double getFloat​(int columnIndex)
                        throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getDouble

        public double getDouble​(int columnIndex)
                         throws java.sql.SQLException
        Specified by:
        getDouble in interface ResultSet
        Throws:
        java.sql.SQLException
      • getBigDecimal

        public BigDecimal getBigDecimal​(int columnIndex,
                                        int scale)
                                 throws java.sql.SQLException
        Specified by:
        getBigDecimal in interface ResultSet
        Throws:
        java.sql.SQLException
      • getBytes

        public byte[] getBytes​(int columnIndex)
                        throws java.sql.SQLException
        Specified by:
        getBytes in interface ResultSet
        Throws:
        java.sql.SQLException
      • getDate

        public Date getDate​(int columnIndex)
                     throws java.sql.SQLException
        Specified by:
        getDate in interface ResultSet
        Throws:
        java.sql.SQLException
      • getTime

        public Time getTime​(int columnIndex)
                     throws java.sql.SQLException
        Specified by:
        getTime in interface ResultSet
        Throws:
        java.sql.SQLException
      • getTimestamp

        public Timestamp getTimestamp​(int columnIndex)
                               throws java.sql.SQLException
        Specified by:
        getTimestamp in interface ResultSet
        Throws:
        java.sql.SQLException
      • getString

        public java.lang.String getString​(java.lang.String columnName)
                                   throws java.sql.SQLException
        Specified by:
        getString in interface ResultSet
        Throws:
        java.sql.SQLException
      • getBoolean

        public boolean getBoolean​(java.lang.String columnName)
                           throws java.sql.SQLException
        Specified by:
        getBoolean in interface ResultSet
        Throws:
        java.sql.SQLException
      • getByte

        public byte getByte​(java.lang.String columnName)
                     throws java.sql.SQLException
        Specified by:
        getByte in interface ResultSet
        Throws:
        java.sql.SQLException
      • getShort

        public short getShort​(java.lang.String columnName)
                       throws java.sql.SQLException
        Specified by:
        getShort in interface ResultSet
        Throws:
        java.sql.SQLException
      • getInt

        public int getInt​(java.lang.String columnName)
                   throws java.sql.SQLException
        Specified by:
        getInt in interface ResultSet
        Throws:
        java.sql.SQLException
      • getLong

        public long getLong​(java.lang.String columnName)
                     throws java.sql.SQLException
        Specified by:
        getLong in interface ResultSet
        Throws:
        java.sql.SQLException
      • getFloat

        public double getFloat​(java.lang.String columnName)
                        throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getDouble

        public double getDouble​(java.lang.String columnName)
                         throws java.sql.SQLException
        Specified by:
        getDouble in interface ResultSet
        Throws:
        java.sql.SQLException
      • getBigDecimal

        public BigDecimal getBigDecimal​(java.lang.String columnName,
                                        int scale)
                                 throws java.sql.SQLException
        Specified by:
        getBigDecimal in interface ResultSet
        Throws:
        java.sql.SQLException
      • getBytes

        public byte[] getBytes​(java.lang.String columnName)
                        throws java.sql.SQLException
        Specified by:
        getBytes in interface ResultSet
        Throws:
        java.sql.SQLException
      • getDate

        public Date getDate​(java.lang.String columnName)
                     throws java.sql.SQLException
        Specified by:
        getDate in interface ResultSet
        Throws:
        java.sql.SQLException
      • getTime

        public Time getTime​(java.lang.String columnName)
                     throws java.sql.SQLException
        Specified by:
        getTime in interface ResultSet
        Throws:
        java.sql.SQLException
      • getTimestamp

        public Timestamp getTimestamp​(java.lang.String columnName)
                               throws java.sql.SQLException
        Specified by:
        getTimestamp in interface ResultSet
        Throws:
        java.sql.SQLException
      • getWarnings

        public java.sql.SQLWarning getWarnings()
                                        throws java.sql.SQLException
        Specified by:
        getWarnings in interface ResultSet
        Throws:
        java.sql.SQLException
      • clearWarnings

        public void clearWarnings()
                           throws java.sql.SQLException
        Specified by:
        clearWarnings in interface ResultSet
        Throws:
        java.sql.SQLException
      • getCursorName

        public java.lang.String getCursorName()
                                       throws java.sql.SQLException
        Specified by:
        getCursorName in interface ResultSet
        Throws:
        java.sql.SQLException
      • getObject

        public java.lang.Object getObject​(int columnIndex)
                                   throws java.sql.SQLException
        Specified by:
        getObject in interface ResultSet
        Throws:
        java.sql.SQLException
      • getObject

        public java.lang.Object getObject​(java.lang.String columnName)
                                   throws java.sql.SQLException
        Specified by:
        getObject in interface ResultSet
        Throws:
        java.sql.SQLException
      • findColumn

        public int findColumn​(java.lang.String columnName)
                       throws java.sql.SQLException
        Specified by:
        findColumn in interface ResultSet
        Throws:
        java.sql.SQLException
      • getBigDecimal

        public BigDecimal getBigDecimal​(int columnIndex)
                                 throws java.sql.SQLException
        Specified by:
        getBigDecimal in interface ResultSet
        Throws:
        java.sql.SQLException
      • getBigDecimal

        public BigDecimal getBigDecimal​(java.lang.String columnName)
                                 throws java.sql.SQLException
        Specified by:
        getBigDecimal in interface ResultSet
        Throws:
        java.sql.SQLException
      • isBeforeFirst

        public boolean isBeforeFirst()
                              throws java.sql.SQLException
        Specified by:
        isBeforeFirst in interface ResultSet
        Throws:
        java.sql.SQLException
      • isAfterLast

        public boolean isAfterLast()
                            throws java.sql.SQLException
        Specified by:
        isAfterLast in interface ResultSet
        Throws:
        java.sql.SQLException
      • isFirst

        public boolean isFirst()
                        throws java.sql.SQLException
        Specified by:
        isFirst in interface ResultSet
        Throws:
        java.sql.SQLException
      • isLast

        public boolean isLast()
                       throws java.sql.SQLException
        Specified by:
        isLast in interface ResultSet
        Throws:
        java.sql.SQLException
      • beforeFirst

        public void beforeFirst()
                         throws java.sql.SQLException
        Specified by:
        beforeFirst in interface ResultSet
        Throws:
        java.sql.SQLException
      • afterLast

        public void afterLast()
                       throws java.sql.SQLException
        Specified by:
        afterLast in interface ResultSet
        Throws:
        java.sql.SQLException
      • first

        public boolean first()
                      throws java.sql.SQLException
        Specified by:
        first in interface ResultSet
        Throws:
        java.sql.SQLException
      • last

        public boolean last()
                     throws java.sql.SQLException
        Specified by:
        last in interface ResultSet
        Throws:
        java.sql.SQLException
      • getRow

        public int getRow()
                   throws java.sql.SQLException
        Specified by:
        getRow in interface ResultSet
        Throws:
        java.sql.SQLException
      • absolute

        public boolean absolute​(int row)
                         throws java.sql.SQLException
        Specified by:
        absolute in interface ResultSet
        Throws:
        java.sql.SQLException
      • relative

        public boolean relative​(int rows)
                         throws java.sql.SQLException
        Specified by:
        relative in interface ResultSet
        Throws:
        java.sql.SQLException
      • previous

        public boolean previous()
                         throws java.sql.SQLException
        Specified by:
        previous in interface ResultSet
        Throws:
        java.sql.SQLException
      • setFetchDirection

        public void setFetchDirection​(int direction)
                               throws java.sql.SQLException
        Specified by:
        setFetchDirection in interface ResultSet
        Throws:
        java.sql.SQLException
      • getFetchDirection

        public int getFetchDirection()
                              throws java.sql.SQLException
        Specified by:
        getFetchDirection in interface ResultSet
        Throws:
        java.sql.SQLException
      • setFetchSize

        public void setFetchSize​(int rows)
                          throws java.sql.SQLException
        Specified by:
        setFetchSize in interface ResultSet
        Throws:
        java.sql.SQLException
      • getFetchSize

        public int getFetchSize()
                         throws java.sql.SQLException
        Specified by:
        getFetchSize in interface ResultSet
        Throws:
        java.sql.SQLException
      • getType

        public int getType()
                    throws java.sql.SQLException
        Specified by:
        getType in interface ResultSet
        Throws:
        java.sql.SQLException
      • getConcurrency

        public int getConcurrency()
                           throws java.sql.SQLException
        Specified by:
        getConcurrency in interface ResultSet
        Throws:
        java.sql.SQLException
      • getStatement

        public Statement getStatement()
                               throws java.sql.SQLException
        Specified by:
        getStatement in interface ResultSet
        Throws:
        java.sql.SQLException