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

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

Introduction

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

The text is from its open source code.

Method

voidbeforeFirst()
Moves the cursor to the front of this ResultSet object, just before the first row.
voiddeleteRow()
Deletes the current row from this ResultSet object and from the underlying database.
voidexecute(Connection conn)
Populates this CachedRowSet object with data, using the given connection to produce the result set from which the data will be read.
voidexecute()
Fills this RowSet object with data.
ResultSetMetaDatagetMetaData()
Retrieves the number, types and properties of this ResultSet object's columns.
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.
voidinsertRow()
Inserts the contents of the insert row into this ResultSet object and into the database.
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.
voidreadXml(java.io.Reader reader)
Reads a WebRowSet object in its XML format from the given Reader object.
voidreadXml(java.io.InputStream iStream)
Reads a stream based XML input to populate this WebRowSet object.
voidsetCommand(String cmd)
Sets this RowSet object's command property to the given SQL query.
voidsetKeyColumns(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.
voidsetPassword(String password)
Sets the database password for this RowSet object to the given String.
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.
voidupdateFloat(int columnIndex, float x)
Updates the designated column with a float 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.
voidwriteXml(java.io.Writer writer)
Writes the data, properties, and metadata for this WebRowSet object to the given Writer object in XML format.
voidwriteXml(java.io.OutputStream oStream)
Writes the data, properties, and metadata for this WebRowSet object to the given OutputStream object in XML format.