Java javax.sql.rowset CachedRowSet fields, constructors, methods, implement or subclass

Example usage for Java javax.sql.rowset CachedRowSet fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.sql.rowset CachedRowSet.

The text is from its open source code.

Implementation

javax.sql.rowset.CachedRowSet has the following implementations.
Click this link to see all its implementation.

Method

booleanabsolute(int row)
Moves the cursor to the given row number in this ResultSet object.
voidacceptChanges()
Propagates row update, insert and delete changes made to this CachedRowSet object to the underlying data source.
voidacceptChanges(Connection con)
Propagates all row update, insert and delete changes to the data source backing this CachedRowSet object using the specified Connection object to establish a connection to the data source.
voidaddRowSetListener(RowSetListener listener)
Registers the given listener so that it will be notified of events that occur on this RowSet object.
voidbeforeFirst()
Moves the cursor to the front of this ResultSet object, just before the first row.
voidclose()
Releases this ResultSet object's database and JDBC resources immediately instead of waiting for this to happen when it is automatically closed.
voidexecute()
Fills this RowSet object with data.
booleanfirst()
Moves the cursor to the first row in this ResultSet object.
ArraygetArray(int columnIndex)
Retrieves the value of the designated column in the current row of this ResultSet object as an Array object in the Java programming language.
booleangetBoolean(int columnIndex)
Retrieves the value of the designated column in the current row of this ResultSet object as a boolean in the Java programming language.
byte[]getBytes(int columnIndex)
Retrieves the value of the designated column in the current row of this ResultSet object as a byte array in the Java programming language.
ClassgetClass()
Returns the runtime class of this Object .
StringgetCommand()
Retrieves this RowSet object's command property.
StringgetDataSourceName()
Retrieves the logical name that identifies the data source for this RowSet object.
java.sql.DategetDate(int columnIndex)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Date object in the Java programming language.
doublegetDouble(int columnIndex)
Retrieves the value of the designated column in the current row of this ResultSet object as a double in the Java programming language.
intgetInt(int columnIndex)
Retrieves the value of the designated column in the current row of this ResultSet object as an int in the Java programming language.
ResultSetMetaDatagetMetaData()
Retrieves the number, types and properties of this ResultSet object's columns.
ObjectgetObject(int columnIndex)

Gets the value of the designated column in the current row of this ResultSet object as an Object in the Java programming language.

intgetRow()
Retrieves the current row number.
StringgetString(int columnIndex)
Retrieves the value of the designated column in the current row of this ResultSet object as a String in the Java programming language.
StringgetTableName()
Returns an identifier for the object (table) that was used to create this CachedRowSet object.
voidinsertRow()
Inserts the contents of the insert row into this ResultSet object and into the database.
booleanlast()
Moves the cursor to the last row in this ResultSet object.
voidmoveToCurrentRow()
Moves the cursor to the remembered cursor position, usually the current row.
voidmoveToInsertRow()
Moves the cursor to the insert row.
booleannext()
Moves the cursor forward one row from its current position.
booleannextPage()
Increments the current page of the CachedRowSet.
voidpopulate(ResultSet data)
Populates this CachedRowSet object with data from the given ResultSet object.
booleanpreviousPage()
Decrements the current page of the CachedRowSet.
booleanrowDeleted()
Retrieves whether a row has been deleted.
booleanrowInserted()
Retrieves whether the current row has had an insertion.
booleanrowUpdated()
Retrieves whether the current row has been updated.
voidsetCommand(String cmd)
Sets this RowSet object's command property to the given SQL query.
voidsetConcurrency(int concurrency)
Sets the concurrency of this RowSet object to the given concurrency level.
voidsetDataSourceName(String name)
Sets the data source name property for this RowSet object to the given String.
voidsetInt(int parameterIndex, int x)
Sets the designated parameter in this RowSet object's command to the given Java int value.
voidsetMetaData(RowSetMetaData md)
Sets the metadata for this CachedRowSet object with the given RowSetMetaData object.
voidsetPageSize(int size)
Sets the CachedRowSet object's page-size.
voidsetPassword(String password)
Sets the database password for this RowSet object to the given String.
voidsetString(int parameterIndex, String x)
Sets the designated parameter in this RowSet object's command to the given Java String value.
voidsetTableName(String tabName)
Sets the identifier for the table from which this CachedRowSet object was derived to the given table name.
voidsetType(int type)
Sets the type of this RowSet object to the given type.
voidsetUrl(String url)
Sets the URL this RowSet object will use when it uses the DriverManager to create a connection.
voidsetUsername(String name)
Sets the username property for this RowSet object to the given String.
intsize()
Returns the number of rows in this CachedRowSet object.
voidupdateInt(int columnIndex, int x)
Updates the designated column with an int value.
voidupdateRow()
Updates the underlying database with the new contents of the current row of this ResultSet object.
voidupdateString(int columnIndex, String x)
Updates the designated column with a String value.
voidupdateTimestamp(int columnIndex, java.sql.Timestamp x)
Updates the designated column with a java.sql.Timestamp value.