javax.sql

Interface RowSet

All Superinterfaces:
AutoCloseable, ResultSet

public interface RowSet
extends ResultSet

Since:
1.4

Fields inherited from interface java.sql.ResultSet

CLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE

Method Summary

Map
Class> getTypeMap()
void
addRowSetListener(RowSetListener listener)
void
clearParameters()
void
execute()
String
getCommand()
String
getDataSourceName()
boolean
getEscapeProcessing()
int
getMaxFieldSize()
int
getMaxRows()
String
getPassword()
int
getQueryTimeout()
int
getTransactionIsolation()
String
getUrl()
String
getUsername()
boolean
isReadOnly()
void
removeRowSetListener(RowSetListener listener)
void
setArray(int i, Array x)
void
setAsciiStream(int parameterIndex, InputStream x, int length)
void
setBigDecimal(int parameterIndex, BigDecimal x)
void
setBinaryStream(int parameterIndex, InputStream x, int length)
void
setBlob(int i, Blob x)
void
setBoolean(int parameterIndex, boolean x)
void
setByte(int parameterIndex, byte x)
void
setBytes(int parameterIndex, byte[] x)
void
setCharacterStream(int parameterIndex, Reader reader, int length)
void
setClob(int i, Clob x)
void
setCommand(String cmd)
void
setConcurrency(int concurrency)
void
setDataSourceName(String name)
void
setDate(int parameterIndex, Date x)
void
setDate(int parameterIndex, Date x, Calendar cal)
void
setDouble(int parameterIndex, double x)
void
setEscapeProcessing(boolean enable)
void
setFloat(int parameterIndex, float x)
void
setInt(int parameterIndex, int x)
void
setLong(int parameterIndex, long x)
void
setMaxFieldSize(int max)
void
setMaxRows(int max)
void
setNull(int parameterIndex, int sqlType)
void
setNull(int paramIndex, int sqlType, String typeName)
void
setObject(int parameterIndex, Object x)
void
setObject(int parameterIndex, Object x, int targetSqlType)
void
setObject(int parameterIndex, Object x, int targetSqlType, int scale)
void
setPassword(String password)
void
setQueryTimeout(int seconds)
void
setReadOnly(boolean value)
void
setRef(int i, Ref x)
void
setShort(int parameterIndex, short x)
void
setString(int parameterIndex, String x)
void
setTime(int parameterIndex, Time x)
void
setTime(int parameterIndex, Time x, Calendar cal)
void
setTimestamp(int parameterIndex, Timestamp x)
void
setTimestamp(int parameterIndex, Timestamp x, Calendar cal)
void
setTransactionIsolation(int level)
void
setType(int type)
void
setTypeMap(Map> map)
void
setUrl(String url)
void
setUsername(String name)

Methods inherited from interface java.lang.AutoCloseable

close

Methods inherited from interface java.sql.ResultSet

absolute, afterLast, beforeFirst, cancelRowUpdates, clearWarnings, close, deleteRow, findColumn, first, getArray, getArray, getAsciiStream, getAsciiStream, getBigDecimal, getBigDecimal, getBigDecimal, getBigDecimal, getBinaryStream, getBinaryStream, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getConcurrency, getCursorName, getDate, getDate, getDate, getDate, getDouble, getDouble, getFetchDirection, getFetchSize, getFloat, getFloat, getInt, getInt, getLong, getLong, getMetaData, getObject, getObject, getObject, getObject, getRef, getRef, getRow, getShort, getShort, getStatement, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getType, getURL, getURL, getUnicodeStream, getUnicodeStream, getWarnings, insertRow, isAfterLast, isBeforeFirst, isFirst, isLast, last, moveToCurrentRow, moveToInsertRow, next, previous, refreshRow, relative, rowDeleted, rowInserted, rowUpdated, setFetchDirection, setFetchSize, updateArray, updateArray, updateAsciiStream, updateAsciiStream, updateBigDecimal, updateBigDecimal, updateBinaryStream, updateBinaryStream, updateBlob, updateBlob, updateBoolean, updateBoolean, updateByte, updateByte, updateBytes, updateBytes, updateCharacterStream, updateCharacterStream, updateClob, updateClob, updateDate, updateDate, updateDouble, updateDouble, updateFloat, updateFloat, updateInt, updateInt, updateLong, updateLong, updateNull, updateNull, updateObject, updateObject, updateObject, updateObject, updateRef, updateRef, updateRow, updateShort, updateShort, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestamp, wasNull

Method Details

Class> getTypeMap

public MapClass> getTypeMap()
            throws SQLException

addRowSetListener

public void addRowSetListener(RowSetListener listener)

clearParameters

public void clearParameters()
            throws SQLException

execute

public void execute()
            throws SQLException

getCommand

public String getCommand()

getDataSourceName

public String getDataSourceName()

getEscapeProcessing

public boolean getEscapeProcessing()
            throws SQLException

getMaxFieldSize

public int getMaxFieldSize()
            throws SQLException

getMaxRows

public int getMaxRows()
            throws SQLException

getPassword

public String getPassword()

getQueryTimeout

public int getQueryTimeout()
            throws SQLException

getTransactionIsolation

public int getTransactionIsolation()

getUrl

public String getUrl()
            throws SQLException

getUsername

public String getUsername()

isReadOnly

public boolean isReadOnly()

removeRowSetListener

public void removeRowSetListener(RowSetListener listener)

setArray

public void setArray(int i,
                     Array x)
            throws SQLException

setAsciiStream

public void setAsciiStream(int parameterIndex,
                           InputStream x,
                           int length)
            throws SQLException

setBigDecimal

public void setBigDecimal(int parameterIndex,
                          BigDecimal x)
            throws SQLException

setBinaryStream

public void setBinaryStream(int parameterIndex,
                            InputStream x,
                            int length)
            throws SQLException

setBlob

public void setBlob(int i,
                    Blob x)
            throws SQLException

setBoolean

public void setBoolean(int parameterIndex,
                       boolean x)
            throws SQLException

setByte

public void setByte(int parameterIndex,
                    byte x)
            throws SQLException

setBytes

public void setBytes(int parameterIndex,
                     byte[] x)
            throws SQLException

setCharacterStream

public void setCharacterStream(int parameterIndex,
                               Reader reader,
                               int length)
            throws SQLException

setClob

public void setClob(int i,
                    Clob x)
            throws SQLException

setCommand

public void setCommand(String cmd)
            throws SQLException

setConcurrency

public void setConcurrency(int concurrency)
            throws SQLException

setDataSourceName

public void setDataSourceName(String name)
            throws SQLException

setDate

public void setDate(int parameterIndex,
                    Date x)
            throws SQLException

setDate

public void setDate(int parameterIndex,
                    Date x,
                    Calendar cal)
            throws SQLException

setDouble

public void setDouble(int parameterIndex,
                      double x)
            throws SQLException

setEscapeProcessing

public void setEscapeProcessing(boolean enable)
            throws SQLException

setFloat

public void setFloat(int parameterIndex,
                     float x)
            throws SQLException

setInt

public void setInt(int parameterIndex,
                   int x)
            throws SQLException

setLong

public void setLong(int parameterIndex,
                    long x)
            throws SQLException

setMaxFieldSize

public void setMaxFieldSize(int max)
            throws SQLException

setMaxRows

public void setMaxRows(int max)
            throws SQLException

setNull

public void setNull(int parameterIndex,
                    int sqlType)
            throws SQLException

setNull

public void setNull(int paramIndex,
                    int sqlType,
                    String typeName)
            throws SQLException

setObject

public void setObject(int parameterIndex,
                      Object x)
            throws SQLException

setObject

public void setObject(int parameterIndex,
                      Object x,
                      int targetSqlType)
            throws SQLException

setObject

public void setObject(int parameterIndex,
                      Object x,
                      int targetSqlType,
                      int scale)
            throws SQLException

setPassword

public void setPassword(String password)
            throws SQLException

setQueryTimeout

public void setQueryTimeout(int seconds)
            throws SQLException

setReadOnly

public void setReadOnly(boolean value)
            throws SQLException

setRef

public void setRef(int i,
                   Ref x)
            throws SQLException

setShort

public void setShort(int parameterIndex,
                     short x)
            throws SQLException

setString

public void setString(int parameterIndex,
                      String x)
            throws SQLException

setTime

public void setTime(int parameterIndex,
                    Time x)
            throws SQLException

setTime

public void setTime(int parameterIndex,
                    Time x,
                    Calendar cal)
            throws SQLException

setTimestamp

public void setTimestamp(int parameterIndex,
                         Timestamp x)
            throws SQLException

setTimestamp

public void setTimestamp(int parameterIndex,
                         Timestamp x,
                         Calendar cal)
            throws SQLException

setTransactionIsolation

public void setTransactionIsolation(int level)
            throws SQLException

setType

public void setType(int type)
            throws SQLException

setTypeMap

public void setTypeMap(Map> map)
            throws SQLException

setUrl

public void setUrl(String url)
            throws SQLException

setUsername

public void setUsername(String name)
            throws SQLException

RowSet.java Copyright (C) 2002 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination. As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.