Example usage for Java javax.sql.rowset WebRowSet fields, constructors, methods, implement or subclass
The text is from its open source code.
void | beforeFirst() Moves the cursor to the front of this ResultSet object, just before the first row. |
void | deleteRow() Deletes the current row from this ResultSet object and from the underlying database. |
void | execute(Connection conn) Populates this CachedRowSet object with data, using the given connection to produce the result set from which the data will be read. |
void | execute() Fills this RowSet object with data. |
ResultSetMetaData | getMetaData() Retrieves the number, types and properties of this ResultSet object's columns. |
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. |
void | insertRow() Inserts the contents of the insert row into this ResultSet object and into the database. |
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. |
void | readXml(java.io.Reader reader) Reads a WebRowSet object in its XML format from the given Reader object. |
void | readXml(java.io.InputStream iStream) Reads a stream based XML input to populate this WebRowSet object. |
void | setCommand(String cmd) Sets this RowSet object's command property to the given SQL query. |
void | setKeyColumns(int[] keys) Sets this CachedRowSet object's keyCols field with the given array of column numbers, which forms a key for uniquely identifying a row in this CachedRowSet object. |
void | setPassword(String password) Sets the database password for this RowSet object to the given String . |
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 | updateFloat(int columnIndex, float x) Updates the designated column with a float 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 | writeXml(java.io.Writer writer) Writes the data, properties, and metadata for this WebRowSet object to the given Writer object in XML format. |
void | writeXml(java.io.OutputStream oStream) Writes the data, properties, and metadata for this WebRowSet object to the given OutputStream object in XML format. |