p6resultset.java

来自「一个跟踪调试jdbc的工具包。通过把jdbc做一个封装」· Java 代码 · 共 741 行 · 第 1/2 页

JAVA
741
字号
    
    public void clearWarnings() throws SQLException {
        passthru.clearWarnings();
    }
    
    public String getCursorName() throws SQLException {
        return passthru.getCursorName();
    }
    
    public ResultSetMetaData getMetaData() throws SQLException {
        return getP6Factory().getResultSetMetaData(passthru.getMetaData());
    }
    
    public int findColumn(String p0) throws SQLException {
        return passthru.findColumn(p0);
    }
    
    public Reader getCharacterStream(String p0) throws SQLException {
        return passthru.getCharacterStream(p0);
    }
    
    public Reader getCharacterStream(int p0) throws SQLException {
        return getCharacterStream(passthru.getMetaData().getColumnName(p0));
    }
    
    public boolean isBeforeFirst() throws SQLException {
        return passthru.isBeforeFirst();
    }
    
    public boolean isAfterLast() throws SQLException {
        return passthru.isAfterLast();
    }
    
    public boolean isFirst() throws SQLException {
        return passthru.isFirst();
    }
    
    public boolean isLast() throws SQLException {
        return passthru.isLast();
    }
    
    public void beforeFirst() throws SQLException {
        passthru.beforeFirst();
    }
    
    public void afterLast() throws SQLException {
        passthru.afterLast();
    }
    
    public boolean first() throws SQLException {
        return passthru.first();
    }
    
    public boolean last() throws SQLException {
        return passthru.last();
    }
    
    public boolean absolute(int p0) throws SQLException {
        return passthru.absolute(p0);
    }
    
    public boolean relative(int p0) throws SQLException {
        return passthru.relative(p0);
    }
    
    public void setFetchDirection(int p0) throws SQLException {
        passthru.setFetchDirection(p0);
    }
    
    public int getFetchDirection() throws SQLException {
        return passthru.getFetchDirection();
    }
    
    public void setFetchSize(int p0) throws SQLException {
        passthru.setFetchSize(p0);
    }
    
    public int getFetchSize() throws SQLException {
        return passthru.getFetchSize();
    }
    
    public int getConcurrency() throws SQLException {
        return passthru.getConcurrency();
    }
    
    public boolean rowUpdated() throws SQLException {
        return passthru.rowUpdated();
    }
    
    public boolean rowInserted() throws SQLException {
        return passthru.rowInserted();
    }
    
    public boolean rowDeleted() throws SQLException {
        return passthru.rowDeleted();
    }
    
    public void updateNull(int p0) throws SQLException {
        passthru.updateNull(p0);
    }
    
    public void updateNull(String p0) throws SQLException {
        passthru.updateNull(p0);
    }
    
    public void updateBoolean(int p0, boolean p1) throws SQLException {
        passthru.updateBoolean(p0,p1);
    }
    
    public void updateBoolean(String p0, boolean p1) throws SQLException {
        passthru.updateBoolean(p0,p1);
    }
    
    public void updateByte(String p0, byte p1) throws SQLException {
        passthru.updateByte(p0,p1);
    }
    
    public void updateByte(int p0, byte p1) throws SQLException {
        passthru.updateByte(p0,p1);
    }
    
    public void updateShort(int p0, short p1) throws SQLException {
        passthru.updateShort(p0,p1);
    }
    
    public void updateShort(String p0, short p1) throws SQLException {
        passthru.updateShort(p0,p1);
    }
    
    public void updateInt(int p0, int p1) throws SQLException {
        passthru.updateInt(p0,p1);
    }
    
    public void updateInt(String p0, int p1) throws SQLException {
        passthru.updateInt(p0,p1);
    }
    
    public void updateLong(int p0, long p1) throws SQLException {
        passthru.updateLong(p0,p1);
    }
    
    public void updateLong(String p0, long p1) throws SQLException {
        passthru.updateLong(p0,p1);
    }
    
    public void updateFloat(String p0, float p1) throws SQLException {
        passthru.updateFloat(p0,p1);
    }
    
    public void updateFloat(int p0, float p1) throws SQLException {
        passthru.updateFloat(p0,p1);
    }
    
    public void updateDouble(int p0, double p1) throws SQLException {
        passthru.updateDouble(p0,p1);
    }
    
    public void updateDouble(String p0, double p1) throws SQLException {
        passthru.updateDouble(p0,p1);
    }
    
    public void updateBigDecimal(String p0, BigDecimal p1) throws SQLException {
        passthru.updateBigDecimal(p0,p1);
    }
    
    public void updateBigDecimal(int p0, BigDecimal p1) throws SQLException {
        passthru.updateBigDecimal(p0,p1);
    }
    
    public void updateString(String p0, String p1) throws SQLException {
        passthru.updateString(p0,p1);
    }
    
    public void updateString(int p0, String p1) throws SQLException {
        passthru.updateString(p0,p1);
    }
    
    public void updateBytes(int p0, byte[] p1) throws SQLException {
        passthru.updateBytes(p0,p1);
    }
    
    public void updateBytes(String p0, byte[] p1) throws SQLException {
        passthru.updateBytes(p0,p1);
    }
    
    public void updateDate(int p0, java.sql.Date p1) throws SQLException {
        passthru.updateDate(p0,p1);
    }
    
    public void updateDate(String p0, java.sql.Date p1) throws SQLException {
        passthru.updateDate(p0,p1);
    }
    
    public void updateTime(String p0, Time p1) throws SQLException {
        passthru.updateTime(p0,p1);
    }
    
    public void updateTime(int p0, Time p1) throws SQLException {
        passthru.updateTime(p0,p1);
    }
    
    public void updateTimestamp(int p0, Timestamp p1) throws SQLException {
        passthru.updateTimestamp(p0,p1);
    }
    
    public void updateTimestamp(String p0, Timestamp p1) throws SQLException {
        passthru.updateTimestamp(p0,p1);
    }
    
    public void updateAsciiStream(int p0, InputStream p1, int p2) throws SQLException {
        passthru.updateAsciiStream(p0,p1,p2);
    }
    
    public void updateAsciiStream(String p0, InputStream p1, int p2) throws SQLException {
        passthru.updateAsciiStream(p0,p1,p2);
    }
    
    public void updateBinaryStream(int p0, InputStream p1, int p2) throws SQLException {
        passthru.updateBinaryStream(p0,p1,p2);
    }
    
    public void updateBinaryStream(String p0, InputStream p1, int p2) throws SQLException {
        passthru.updateBinaryStream(p0,p1,p2);
    }
    
    public void updateCharacterStream(int p0, Reader p1, int p2) throws SQLException {
        passthru.updateCharacterStream(p0,p1,p2);
    }
    
    public void updateCharacterStream(String p0, Reader p1, int p2) throws SQLException {
        passthru.updateCharacterStream(p0,p1,p2);
    }
    
    public void updateObject(int p0, Object p1) throws SQLException {
        passthru.updateObject(p0,p1);
    }
    
    public void updateObject(int p0, Object p1, int p2) throws SQLException {
        passthru.updateObject(p0,p1,p2);
    }
    
    public void updateObject(String p0, Object p1) throws SQLException {
        passthru.updateObject(p0,p1);
    }
    
    public void updateObject(String p0, Object p1, int p2) throws SQLException {
        passthru.updateObject(p0,p1,p2);
    }
    
    public void insertRow() throws SQLException {
        passthru.insertRow();
    }
    
    public void updateRow() throws SQLException {
        passthru.updateRow();
    }
    
    public void deleteRow() throws SQLException {
        passthru.deleteRow();
    }
    
    public void refreshRow() throws SQLException {
        passthru.refreshRow();
    }
    
    public void cancelRowUpdates() throws SQLException {
        passthru.cancelRowUpdates();
    }
    
    public void moveToInsertRow() throws SQLException {
        passthru.moveToInsertRow();
    }
    
    public void moveToCurrentRow() throws SQLException {
        passthru.moveToCurrentRow();
    }
    
    public Statement getStatement() throws SQLException {
        return this.statement;
    }
    
    public Blob getBlob(int p0) throws SQLException {
        return getBlob(passthru.getMetaData().getColumnName(p0));
    }
    
    public Blob getBlob(String p0) throws SQLException {
        return passthru.getBlob(p0);
    }
    
    public Clob getClob(String p0) throws SQLException {
        return passthru.getClob(p0);
    }
    
    public Clob getClob(int p0) throws SQLException {
        return getClob(passthru.getMetaData().getColumnName(p0));
    }
    
    public Array getArray(int p0) throws SQLException {
        return getP6Factory().getArray(passthru.getArray(p0),statement,preparedQuery,query);
    }
    
    public Array getArray(String p0) throws SQLException {
        return getP6Factory().getArray(passthru.getArray(p0),statement,preparedQuery,query);
    }
    
    // Since JDK 1.4
    public java.net.URL getURL(int p0) throws SQLException {
        return passthru.getURL(p0);
    }

    // Since JDK 1.4
    public java.net.URL getURL(String p0) throws SQLException {
        return passthru.getURL(p0);
    }

    // Since JDK 1.4
    public void updateRef(int p0, Ref p1) throws SQLException {
        passthru.updateRef(p0, p1);
    }

    // Since JDK 1.4
    public void updateRef(String p0, Ref p1) throws SQLException {
        passthru.updateRef(p0, p1);
    }

    // Since JDK 1.4
    public void updateBlob(int p0, Blob p1) throws SQLException {
        passthru.updateBlob(p0, p1);
    }

    // Since JDK 1.4
    public void updateBlob(String p0, Blob p1) throws SQLException {
        passthru.updateBlob(p0, p1);
    }

    // Since JDK 1.4
    public void updateClob(int p0, Clob p1) throws SQLException {
        passthru.updateClob(p0, p1);
    }

    // Since JDK 1.4
    public void updateClob(String p0, Clob p1) throws SQLException {
        passthru.updateClob(p0, p1);
    }

    // Since JDK 1.4
    public void updateArray(int p0, Array p1) throws SQLException {
        passthru.updateArray(p0, p1);
    }

    // Since JDK 1.4
    public void updateArray(String p0, Array p1) throws SQLException {
        passthru.updateArray(p0, p1);
    }

    /**
     * Returns the underlying JDBC object (in this case, a
     * java.sql.ResultSet)
     * @return the wrapped JDBC object 
     */
    public ResultSet getJDBC() {
	ResultSet wrapped = (passthru instanceof P6ResultSet) ?
	    ((P6ResultSet) passthru).getJDBC() :
	    passthru;

	return wrapped;
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?