Example usage for Java javax.sql.rowset CachedRowSet fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | absolute(int row) Moves the cursor to the given row number in this ResultSet object. |
void | acceptChanges() Propagates row update, insert and delete changes made to this CachedRowSet object to the underlying data source. |
void | acceptChanges(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. |
void | addRowSetListener(RowSetListener listener) Registers the given listener so that it will be notified of events that occur on this RowSet object. |
void | beforeFirst() Moves the cursor to the front of this ResultSet object, just before the first row. |
void | close() Releases this ResultSet object's database and JDBC resources immediately instead of waiting for this to happen when it is automatically closed. |
void | execute() Fills this RowSet object with data. |
boolean | first() Moves the cursor to the first row in this ResultSet object. |
Array | getArray(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. |
boolean | getBoolean(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. |
Class> | getClass() Returns the runtime class of this Object . |
String | getCommand() Retrieves this RowSet object's command property. |
String | getDataSourceName() Retrieves the logical name that identifies the data source for this RowSet object. |
java.sql.Date | getDate(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. |
double | getDouble(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. |
int | getInt(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. |
ResultSetMetaData | getMetaData() Retrieves the number, types and properties of this ResultSet object's columns. |
Object | getObject(int columnIndex) Gets the value of the designated column in the current row of this |
int | getRow() Retrieves the current row number. |
String | getString(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. |
String | getTableName() Returns an identifier for the object (table) that was used to create this CachedRowSet object. |
void | insertRow() Inserts the contents of the insert row into this ResultSet object and into the database. |
boolean | last() Moves the cursor to the last row in this ResultSet object. |
void | moveToCurrentRow() Moves the cursor to the remembered cursor position, usually the current row. |
void | moveToInsertRow() Moves the cursor to the insert row. |
boolean | next() Moves the cursor forward one row from its current position. |
boolean | nextPage() Increments the current page of the CachedRowSet . |
void | populate(ResultSet data) Populates this CachedRowSet object with data from the given ResultSet object. |
boolean | previousPage() Decrements the current page of the CachedRowSet . |
boolean | rowDeleted() Retrieves whether a row has been deleted. |
boolean | rowInserted() Retrieves whether the current row has had an insertion. |
boolean | rowUpdated() Retrieves whether the current row has been updated. |
void | setCommand(String cmd) Sets this RowSet object's command property to the given SQL query. |
void | setConcurrency(int concurrency) Sets the concurrency of this RowSet object to the given concurrency level. |
void | setDataSourceName(String name) Sets the data source name property for this RowSet object to the given String . |
void | setInt(int parameterIndex, int x) Sets the designated parameter in this RowSet object's command to the given Java int value. |
void | setMetaData(RowSetMetaData md) Sets the metadata for this CachedRowSet object with the given RowSetMetaData object. |
void | setPageSize(int size) Sets the CachedRowSet object's page-size. |
void | setPassword(String password) Sets the database password for this RowSet object to the given String . |
void | setString(int parameterIndex, String x) Sets the designated parameter in this RowSet object's command to the given Java String value. |
void | setTableName(String tabName) Sets the identifier for the table from which this CachedRowSet object was derived to the given table name. |
void | setType(int type) Sets the type of this RowSet object to the given type. |
void | setUrl(String url) Sets the URL this RowSet object will use when it uses the DriverManager to create a connection. |
void | setUsername(String name) Sets the username property for this RowSet object to the given String . |
int | size() Returns the number of rows in this CachedRowSet object. |
void | updateInt(int columnIndex, int x) Updates the designated column with an int value. |
void | updateRow() Updates the underlying database with the new contents of the current row of this ResultSet object. |
void | updateString(int columnIndex, String x) Updates the designated column with a String value. |
void | updateTimestamp(int columnIndex, java.sql.Timestamp x) Updates the designated column with a java.sql.Timestamp value. |