RowSet (Java SE 25 & JDK 25)
- All Superinterfaces:
AutoCloseable, ResultSet, Wrapper
- All Known Subinterfaces:
CachedRowSet, FilteredRowSet, JdbcRowSet, JoinRowSet, SyncResolver, WebRowSet
-
Field Summary
-
Method Summary
voidRegisters the given listener so that it will be notified of events that occur on this
RowSetobject.voidClears the parameters set for this
RowSetobject's command.voidexecute()Fills this
RowSetobject with data.Retrieves this
RowSetobject's command property.Retrieves the logical name that identifies the data source for this
RowSetobject.booleanRetrieves whether escape processing is enabled for this
RowSetobject.intRetrieves the maximum number of bytes that may be returned for certain column values.
intRetrieves the maximum number of rows that this
RowSetobject can contain.Retrieves the password used to create a database connection.
intRetrieves the maximum number of seconds the driver will wait for a statement to execute.
intRetrieves the transaction isolation level set for this
RowSetobject.Retrieves the
Mapobject associated with thisRowSetobject, which specifies the custom mapping of SQL user-defined types, if any.getUrl()Retrieves the url property this
RowSetobject will use to create a connection if it uses theDriverManagerinstead of aDataSourceobject to establish the connection.Retrieves the username used to create a database connection for this
RowSetobject.booleanRetrieves whether this
RowSetobject is read-only.voidRemoves the specified listener from the list of components that will be notified when an event occurs on this
RowSetobject.voidSets the designated parameter in this
RowSetobject's command with the givenArrayvalue.voidSets the designated parameter in this
RowSetobject's command to the given input stream.voidsetAsciiStream(int parameterIndex, InputStream x, int length) Sets the designated parameter in this
RowSetobject's command to the givenjava.io.InputStreamvalue.voidSets the designated parameter to the given input stream.
voidSets the designated parameter to the given input stream, which will have the specified number of bytes.
voidSets the designated parameter in this
RowSetobject's command to the givenjava.math.BigDecimalvalue.voidSets the designated parameter to the given
java.math.BigDecimalvalue.voidSets the designated parameter in this
RowSetobject's command to the given input stream.voidSets the designated parameter in this
RowSetobject's command to the givenjava.io.InputStreamvalue.voidSets the designated parameter to the given input stream.
voidSets the designated parameter to the given input stream, which will have the specified number of bytes.
voidSets the designated parameter to a
InputStreamobject.voidsetBlob(int parameterIndex, InputStream inputStream, long length) Sets the designated parameter to a
InputStreamobject.voidSets the designated parameter in this
RowSetobject's command with the givenBlobvalue.voidSets the designated parameter to a
InputStreamobject.voidSets the designated parameter to a
InputStreamobject.voidSets the designated parameter to the given
java.sql.Blobobject.voidsetBoolean(int parameterIndex, boolean x) Sets the designated parameter in this
RowSetobject's command to the given Javabooleanvalue.voidsetBoolean(String parameterName, boolean x) Sets the designated parameter to the given Java
booleanvalue.voidsetByte(int parameterIndex, byte x) Sets the designated parameter in this
RowSetobject's command to the given Javabytevalue.voidsetByte(String parameterName, byte x) Sets the designated parameter to the given Java
bytevalue.voidsetBytes(int parameterIndex, byte[] x) Sets the designated parameter in this
RowSetobject's command to the given Java array ofbytevalues.voidsetBytes(String parameterName, byte[] x) Sets the designated parameter to the given Java array of bytes.
voidsetCharacterStream(int parameterIndex, Reader reader) Sets the designated parameter in this
RowSetobject's command to the givenReaderobject.voidsetCharacterStream(int parameterIndex, Reader reader, int length) Sets the designated parameter in this
RowSetobject's command to the givenjava.io.Readervalue.voidSets the designated parameter to the given
Readerobject.voidSets the designated parameter to the given
Readerobject, which is the given number of characters long.voidsetClob(int parameterIndex, Reader reader) Sets the designated parameter to a
Readerobject.voidsetClob(int parameterIndex, Reader reader, long length) Sets the designated parameter to a
Readerobject.voidSets the designated parameter in this
RowSetobject's command with the givenClobvalue.voidSets the designated parameter to a
Readerobject.voidsetClob(String parameterName, Reader reader, long length) Sets the designated parameter to a
Readerobject.voidSets the designated parameter to the given
java.sql.Clobobject.voidSets this
RowSetobject's command property to the given SQL query.voidsetConcurrency(int concurrency) Sets the concurrency of this
RowSetobject to the given concurrency level.voidSets the data source name property for this
RowSetobject to the givenString.voidsetDate(int parameterIndex, Date x) Sets the designated parameter in this
RowSetobject's command to the givenjava.sql.Datevalue.voidSets the designated parameter in this
RowSetobject's command with the givenjava.sql.Datevalue.voidSets the designated parameter to the given
java.sql.Datevalue using the default time zone of the virtual machine that is running the application.voidSets the designated parameter to the given
java.sql.Datevalue, using the givenCalendarobject.voidsetDouble(int parameterIndex, double x) Sets the designated parameter in this
RowSetobject's command to the given Javadoublevalue.voidsetDouble(String parameterName, double x) Sets the designated parameter to the given Java
doublevalue.voidsetEscapeProcessing(boolean enable) Sets escape processing for this
RowSetobject on or off.voidsetFloat(int parameterIndex, float x) Sets the designated parameter in this
RowSetobject's command to the given Javafloatvalue.voidsetFloat(String parameterName, float x) Sets the designated parameter to the given Java
floatvalue.voidsetInt(int parameterIndex, int x) Sets the designated parameter in this
RowSetobject's command to the given Javaintvalue.voidsetInt(String parameterName, int x) Sets the designated parameter to the given Java
intvalue.voidsetLong(int parameterIndex, long x) Sets the designated parameter in this
RowSetobject's command to the given Javalongvalue.voidsetLong(String parameterName, long x) Sets the designated parameter to the given Java
longvalue.voidsetMaxFieldSize(int max) Sets the maximum number of bytes that can be returned for a column value to the given number of bytes.
voidsetMaxRows(int max) Sets the maximum number of rows that this
RowSetobject can contain to the specified number.voidsetNCharacterStream(int parameterIndex, Reader value) Sets the designated parameter in this
RowSetobject's command to aReaderobject.voidsetNCharacterStream(int parameterIndex, Reader value, long length) Sets the designated parameter to a
Readerobject.voidSets the designated parameter to a
Readerobject.voidSets the designated parameter to a
Readerobject.voidsetNClob(int parameterIndex, Reader reader) Sets the designated parameter to a
Readerobject.voidsetNClob(int parameterIndex, Reader reader, long length) Sets the designated parameter to a
Readerobject.voidsetNClob(int parameterIndex, NClob value) Sets the designated parameter to a
java.sql.NClobobject.voidSets the designated parameter to a
Readerobject.voidsetNClob(String parameterName, Reader reader, long length) Sets the designated parameter to a
Readerobject.voidSets the designated parameter to a
java.sql.NClobobject.voidsetNString(int parameterIndex, String value) Sets the designated parameter to the given
Stringobject.voidSets the designated parameter to the given
Stringobject.voidsetNull(int parameterIndex, int sqlType) Sets the designated parameter in this
RowSetobject's SQL command to SQLNULL.voidsetNull(int paramIndex, int sqlType, String typeName) Sets the designated parameter in this
RowSetobject's SQL command to SQLNULL.voidsetNull(String parameterName, int sqlType) Sets the designated parameter to SQL
NULL.voidsetNull(String parameterName, int sqlType, String typeName) Sets the designated parameter to SQL
NULL.voidsetObject(int parameterIndex, Object x) Sets the designated parameter in this
RowSetobject's command with a JavaObject.voidsetObject(int parameterIndex, Object x, int targetSqlType) Sets the designated parameter in this
RowSetobject's command with a JavaObject.voidsetObject(int parameterIndex, Object x, int targetSqlType, int scaleOrLength) Sets the designated parameter in this
RowSetobject's command with the given JavaObject.voidSets the value of the designated parameter with the given object.
voidsetObject(String parameterName, Object x, int targetSqlType) Sets the value of the designated parameter with the given object.
voidsetObject(String parameterName, Object x, int targetSqlType, int scale) Sets the value of the designated parameter with the given object.
voidSets the database password for this
RowSetobject to the givenString.voidsetQueryTimeout(int seconds) Sets the maximum time the driver will wait for a statement to execute to the given number of seconds.
voidsetReadOnly(boolean value) Sets whether this
RowSetobject is read-only to the givenboolean.voidSets the designated parameter in this
RowSetobject's command with the givenRefvalue.voidsetRowId(int parameterIndex, RowId x) Sets the designated parameter to the given
java.sql.RowIdobject.voidSets the designated parameter to the given
java.sql.RowIdobject.voidsetShort(int parameterIndex, short x) Sets the designated parameter in this
RowSetobject's command to the given Javashortvalue.voidsetShort(String parameterName, short x) Sets the designated parameter to the given Java
shortvalue.voidsetSQLXML(int parameterIndex, SQLXML xmlObject) Sets the designated parameter to the given
java.sql.SQLXMLobject.voidSets the designated parameter to the given
java.sql.SQLXMLobject.voidsetString(int parameterIndex, String x) Sets the designated parameter in this
RowSetobject's command to the given JavaStringvalue.voidSets the designated parameter to the given Java
Stringvalue.voidsetTime(int parameterIndex, Time x) Sets the designated parameter in this
RowSetobject's command to the givenjava.sql.Timevalue.voidSets the designated parameter in this
RowSetobject's command with the givenjava.sql.Timevalue.voidSets the designated parameter to the given
java.sql.Timevalue.voidSets the designated parameter to the given
java.sql.Timevalue, using the givenCalendarobject.voidSets the designated parameter in this
RowSetobject's command to the givenjava.sql.Timestampvalue.voidSets the designated parameter in this
RowSetobject's command with the givenjava.sql.Timestampvalue.voidSets the designated parameter to the given
java.sql.Timestampvalue.voidSets the designated parameter to the given
java.sql.Timestampvalue, using the givenCalendarobject.voidsetTransactionIsolation(int level) Sets the transaction isolation level for this
RowSetobject.voidsetType(int type) Sets the type of this
RowSetobject to the given type.voidInstalls the given
java.util.Mapobject as the default type map for thisRowSetobject.voidSets the URL this
RowSetobject will use when it uses theDriverManagerto create a connection.voidsetURL(int parameterIndex, URL x) Sets the designated parameter to the given
java.net.URLvalue.voidSets the username property for this
RowSetobject to the givenString.Methods declared in interface 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, getHoldability, getInt, getInt, getLong, getLong, getMetaData, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getObject, getObject, getObject, getObject, getObject, getObject, getRef, getRef, getRow, getRowId, getRowId, getShort, getShort, getSQLXML, getSQLXML, getStatement, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getType, getUnicodeStream, getUnicodeStream, getURL, getURL, getWarnings, insertRow, isAfterLast, isBeforeFirst, isClosed, isFirst, isLast, last, moveToCurrentRow, moveToInsertRow, next, previous, refreshRow, relative, rowDeleted, rowInserted, rowUpdated, setFetchDirection, setFetchSize, updateArray, updateArray, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateBigDecimal, updateBigDecimal, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateBoolean, updateBoolean, updateByte, updateByte, updateBytes, updateBytes, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateClob, updateClob, updateClob, updateClob, updateClob, updateClob, updateDate, updateDate, updateDouble, updateDouble, updateFloat, updateFloat, updateInt, updateInt, updateLong, updateLong, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNString, updateNString, updateNull, updateNull, updateObject, updateObject, updateObject, updateObject, updateObject, updateObject, updateObject, updateObject, updateRef, updateRef, updateRow, updateRowId, updateRowId, updateShort, updateShort, updateSQLXML, updateSQLXML, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestamp, wasNull
-
Method Details
-
getUrl
-
setUrl
-
getDataSourceName
-
setDataSourceName
-
getUsername
-
setUsername
-
getPassword
-
setPassword
-
getTransactionIsolation
-
setTransactionIsolation
-
getTypeMap
-
setTypeMap
-
getCommand
-
setCommand
-
isReadOnly
-
setReadOnly
-
getMaxFieldSize
-
setMaxFieldSize
-
getMaxRows
-
setMaxRows
-
getEscapeProcessing
-
setEscapeProcessing
-
getQueryTimeout
-
setQueryTimeout
-
setType
-
setConcurrency
-
setNull
-
setNull
-
setNull
-
setNull
-
setBoolean
-
setBoolean
-
setByte
-
setByte
-
setShort
-
setShort
-
setInt
-
setInt
-
setLong
-
setLong
-
setFloat
-
setFloat
-
setDouble
-
setDouble
-
setBigDecimal
-
setBigDecimal
-
setString
-
setString
-
setBytes
-
setBytes
-
setDate
-
setTime
-
setTimestamp
-
setTimestamp
-
setAsciiStream
-
setAsciiStream
-
setBinaryStream
-
setBinaryStream
-
setCharacterStream
-
setCharacterStream
-
setAsciiStream
-
setAsciiStream
-
setBinaryStream
-
setBinaryStream
-
setCharacterStream
-
setCharacterStream
-
setNCharacterStream
-
setObject
-
setObject
-
setObject
-
setObject
-
setObject
-
setObject
-
setRef
-
setBlob
-
setBlob
-
setBlob
-
setBlob
-
setBlob
-
setBlob
-
setClob
-
setClob
-
setClob
-
setClob
-
setClob
-
setClob
-
setArray
-
setDate
-
setDate
-
setDate
-
setTime
-
setTime
-
setTime
-
setTimestamp
-
setTimestamp
-
clearParameters
-
execute
-
addRowSetListener
-
removeRowSetListener
-
setSQLXML
-
setSQLXML
-
setRowId
-
setRowId
-
setNString
-
setNString
-
setNCharacterStream
-
setNCharacterStream
-
setNCharacterStream
-
setNClob
-
setNClob
-
setNClob
-
setNClob
-
setNClob
-
setNClob
-
setURL
-