|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object weblogic.jdbc.rowset.JdbcRowSetImpl
public class JdbcRowSetImpl
JdbcRowSet is an implementation of the JDBC RowSet API (javax.sql.RowSet). JdbcRowSet is a wrapper around a ResultSet object that makes it possible to use the result set as a JavaBeans component. Thus, a JdbcRowSet can be one of the beans that a tool makes available for creating a component-based application. Because a JdbcRowSet object is a connected rowset (that is, it continually maintains its connection to the database using a JDBC technology-enabled driver) it effectively makes the driver a JavaBeans component.
Field Summary |
---|
Fields inherited from interface java.sql.ResultSet |
---|
CLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE |
Constructor Summary | |
---|---|
JdbcRowSetImpl()
Constructs a default JdbcRowSet object. |
|
JdbcRowSetImpl(String url,
String user,
String password)
|
Method Summary | |
---|---|
boolean |
absolute(int i)
Moves the cursor to the given row number in this ResultSet object |
void |
addRowSetListener(RowSetListener rsl)
Registers the given listener so that it will be notified of events that occur on this RowSet object |
void |
afterLast()
Moves the cursor to the end of this ResultSet object, just after the last row |
void |
beforeFirst()
Moves the cursor to the front of this ResultSet object, just before the first row |
void |
cancelRowUpdates()
Cancels the updates made to the current row in this ResultSet object and notifies listeners that a row has changed. |
void |
clearParameters()
Clears the parameters set for this RowSet object's command. |
void |
clearWarnings()
Clears all warnings reported on this rowset's ResultSet object |
void |
close()
Releases this rowset's ResultSet object's database and JDBC resources immediately instead of waiting for this to happen when it is automatically closed |
void |
commit()
Commits all updates in this JdbcRowSet object by wrapping the internal Connection object and calling its commit method. |
void |
deleteRow()
Deletes the current row from this rowset's ResultSet object and from the underlying database and also notifies listeners that a row has changed |
void |
execute()
Creates the internal ResultSet object for which this JdbcRowSet object is a wrapper, effectively making the result set a JavaBeans component. |
boolean |
first()
Moves the cursor to the first row in this ResultSet object |
Array |
getArray(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as an Array object in the Java programming language |
Array |
getArray(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as an Array object in the Java programming language |
InputStream |
getAsciiStream(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as a stream of ASCII characters |
InputStream |
getAsciiStream(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a stream of ASCII characters |
boolean |
getAutoCommit()
Returns the auto-commit status with this JdbcRowSet |
BigDecimal |
getBigDecimal(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.math.BigDecimal with full precision. |
BigDecimal |
getBigDecimal(int i,
int scale)
Deprecated. |
BigDecimal |
getBigDecimal(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.math.BigDecimal with full precision. |
BigDecimal |
getBigDecimal(String s,
int n)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.math.BigDecimal with full precision. |
InputStream |
getBinaryStream(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as a binary stream of uninterpreted bytes |
InputStream |
getBinaryStream(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a binary stream of uninterpreted bytes |
Blob |
getBlob(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as a Blob object in the Java programming language |
Blob |
getBlob(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a Blob object in the Java programming language |
boolean |
getBoolean(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as a boolean in the Java programming language. |
boolean |
getBoolean(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a boolean in the Java programming language. |
byte |
getByte(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as a byte in the Java programming language. |
byte |
getByte(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a byte in the Java programming language. |
byte[] |
getBytes(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as a byte array in the Java programming language. |
byte[] |
getBytes(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a byte array in the Java programming language. |
Reader |
getCharacterStream(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.io.Reader object. |
Reader |
getCharacterStream(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.io.Reader object. |
Clob |
getClob(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as a Clob object in the Java programming language |
Clob |
getClob(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a Clob object in the Java programming language |
String |
getCommand()
Retrieves this RowSet object's command property |
int |
getConcurrency()
Retrieves the concurrency mode of this ResultSet object. |
String |
getCursorName()
Gets the name of the SQL cursor used by this rowset's ResultSet object |
String |
getDataSourceName()
Retrieves the logical name that identifies the data source for this RowSet object |
Date |
getDate(int i)
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 |
Date |
getDate(int i,
Calendar c)
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 |
Date |
getDate(String s)
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 |
Date |
getDate(String s,
Calendar c)
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 i)
Retrieves the value of the designated column in the current row of this ResultSet object as a double in the Java programming language. |
double |
getDouble(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a double in the Java programming language. |
boolean |
getEscapeProcessing()
Retrieves whether escape processing is enabled for this RowSet object. |
int |
getFetchDirection()
Retrieves the fetch direction for this ResultSet object |
int |
getFetchSize()
Retrieves the fetch size for this ResultSet object. |
float |
getFloat(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as a float in the Java programming language. |
float |
getFloat(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a float in the Java programming language. |
int |
getInt(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as an int in the Java programming language. |
int |
getInt(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as an int in the Java programming language. |
long |
getLong(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as a long in the Java programming language |
long |
getLong(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a long in the Java programming language |
int[] |
getMatchColumnIndexes()
Retrieves the column id as int array that was set using setMatchColumn(int []) for this rowset |
String[] |
getMatchColumnNames()
Retrieves the column name as String array that was set using setMatchColumn(String []) for this rowset |
int |
getMaxFieldSize()
Retrieves the maximum number of bytes that may be returned for certain column values |
int |
getMaxRows()
Retrieves the maximum number of rows that this RowSet object can contain |
ResultSetMetaData |
getMetaData()
Retrieves the number, types and properties of this rowset's ResultSet object's columns. |
Object |
getObject(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as an Object in the Java programming language. |
Object |
getObject(int i,
Map m)
Retrieves the value of the designated column in the current row of this ResultSet object as an Object in the Java programming language. |
Object |
getObject(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as an Object in the Java programming language. |
Object |
getObject(String s,
Map m)
Retrieves the value of the designated column in the current row of this ResultSet object as an Object in the Java programming language. |
String |
getPassword()
Retrieves the password used to create a database connection. |
int |
getQueryTimeout()
Retrieves the maximum number of seconds the driver will wait for a statement to execute |
Ref |
getRef(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as a Ref object in the Java programming language |
Ref |
getRef(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a Ref object in the Java programming language |
int |
getRow()
Retrieves the current row number |
RowSetWarning |
getRowSetWarnings()
Return the RowSetWarning object for the current row of a JdbcRowSetImpl |
short |
getShort(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as a short in the Java programming language. |
short |
getShort(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a short in the Java programming language. |
boolean |
getShowDeleted()
See javax.sql.rowset.JdbcRowSet |
Statement |
getStatement()
Returns the Statement object that produced this ResultSet object. |
String |
getString(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as a String in the Java programming language. |
String |
getString(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a String in the Java programming language. |
Time |
getTime(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Time object in the Java programming language. |
Time |
getTime(int i,
Calendar c)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Time object in the Java programming language. |
Time |
getTime(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Time object in the Java programming language. |
Time |
getTime(String s,
Calendar c)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Time object in the Java programming language. |
Timestamp |
getTimestamp(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Timestamp object |
Timestamp |
getTimestamp(int i,
Calendar c)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Timestamp object |
Timestamp |
getTimestamp(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Timestamp object |
Timestamp |
getTimestamp(String s,
Calendar c)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Timestamp object |
int |
getTransactionIsolation()
Retrieves the transaction isolation level set for this RowSet object |
int |
getType()
Retrieves the type of this ResultSet object |
Map |
getTypeMap()
Retrieves the Map object associated with this RowSet object, which specifies the custom mapping of SQL user-defined types, if any |
InputStream |
getUnicodeStream(int i)
Deprecated. |
InputStream |
getUnicodeStream(String s)
Deprecated. |
String |
getUrl()
Retrieves the url property this RowSet object will use to create a connection if it uses the DriverManager instead of a DataSource object to establish the connection |
URL |
getURL(int a)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.net.URL object in the Java programming language |
URL |
getURL(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.net.URL object in the Java programming language |
String |
getUsername()
Retrieves the username used to create a database connection for this RowSet object |
SQLWarning |
getWarnings()
Returns the first warning reported by calls on this rowset's ResultSet object. |
boolean |
isAfterLast()
Retrieves whether the cursor is after the last row in this ResultSet object |
boolean |
isBeforeFirst()
Retrieves whether the cursor is before the first row in this ResultSet object |
boolean |
isFirst()
Retrieves whether the cursor is on the first row of this ResultSet object |
boolean |
isLast()
Retrieves whether the cursor is on the last row of this ResultSet object |
boolean |
isReadOnly()
Retrieves whether this RowSet object is read-only |
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 down one row from its current position |
boolean |
previous()
Moves the cursor to the previous row in this ResultSet object |
boolean |
relative(int i)
Moves the cursor a relative number of rows, either positive or negative |
void |
removeRowSetListener(RowSetListener rsl)
Removes the specified listener from the list of components that will be notified when an event occurs on this RowSet object |
void |
rollback()
Rolls back all the updates in this JdbcRowSet object by wrapping the internal Connection object and calling its rollback method. |
void |
rollback(Savepoint s)
Rollbacks all the updates in the JdbcRowSet back to the last Savepoint transaction marker |
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 |
setArray(int i,
Array x)
Sets the designated parameter in this RowSet object's command with the given Array value |
void |
setAsciiStream(int i,
InputStream is,
int x)
Sets the designated parameter in this RowSet object's command to the given java.io.InputStream value |
void |
setAutoCommit(boolean autoCommit)
Sets auto-commit on the internal Connection object with this JdbcRowSet |
void |
setBigDecimal(int i,
BigDecimal bd)
Sets the designated parameter in this RowSet object's command to the given java.math.BigDeciaml value. |
void |
setBinaryStream(int i,
InputStream is,
int x)
Sets the designated parameter in this RowSet object's command to the given java.io.InputStream value |
void |
setBlob(int i,
Blob b)
Sets the designated parameter in this RowSet object's command with the given Blob value. |
void |
setBoolean(int i,
boolean b)
Sets the designated parameter in this RowSet object's command to the given Java boolean value |
void |
setByte(int i,
byte b)
Sets the designated parameter in this RowSet object's command to the given Java byte value |
void |
setBytes(int i,
byte[] b)
Sets the designated parameter in this RowSet object's command to the given Java array of byte values |
void |
setCharacterStream(int i,
Reader r,
int x)
Sets the designated parameter in this RowSet object's command to the given java.io.Reader value |
void |
setClob(int i,
Clob c)
Sets the designated parameter in this RowSet object's command with the given Clob value |
void |
setCommand(String s)
Sets this RowSet object's command property to the given SQL query. |
void |
setConcurrency(int c)
Sets the concurrency of this RowSet object to the given concurrency level. |
void |
setDataSourceName(String s)
Sets the data source name property for this RowSet object to the given String |
void |
setDate(int i,
Date d)
Sets the designated parameter in this RowSet object's command with the given java.sql.Date value |
void |
setDate(int i,
Date d,
Calendar c)
Sets the designated parameter in this RowSet object's command with the given java.sql.Date value. |
void |
setDouble(int i,
double d)
Sets the designated parameter in this RowSet object's command to the given Java double value. |
void |
setFetchDirection(int i)
Gives a hint as to the direction in which the rows in this ResultSet object will be processed. |
void |
setFetchSize(int i)
Gives the JDBC driver a hint as to the number of rows that should be fetched from the database when more rows are needed for this ResultSet object. |
void |
setFloat(int i,
float f)
Sets the designated parameter in this RowSet object's command to the given Java float value. |
void |
setInt(int i,
int x)
Sets the designated parameter in this RowSet object's command to the given Java int value |
void |
setLong(int i,
long l)
Sets the designated parameter in this RowSet object's command to the given Java long value |
void |
setMatchColumn(int columnIdx)
Sets the designated parameter to the given int object. |
void |
setMatchColumn(int[] columnIdxes)
Sets the designated parameter to the given int array. |
void |
setMatchColumn(String columnName)
Sets the designated parameter to the given String object. |
void |
setMatchColumn(String[] columnNames)
Sets the designated parameter to the given String array. |
void |
setMaxFieldSize(int x)
Sets the maximum number of bytes that can be returned for a column value to the given number of bytes. |
void |
setMaxRows(int n)
Sets the maximum number of rows that this RowSet object can contain to the specified number |
void |
setNull(int i,
int x)
Sets the designated parameter in this RowSet object's SQL command to SQL NULL |
void |
setNull(int i,
int x,
String s)
Sets the designated parameter in this RowSet object's SQL command to SQL NULL |
void |
setObject(int i,
Object o)
Sets the designated parameter in this RowSet object's command with a Java Object |
void |
setObject(int i,
Object o,
int x)
Sets the designated parameter in this RowSet object's command with a Java Object |
void |
setObject(int i,
Object o,
int x,
int scale)
Sets the designated parameter in this RowSet object's command with a Java Object |
void |
setPassword(String p)
Sets the database password for this RowSet object to the given String. |
void |
setQueryTimeout(int t)
Sets the maximum time the driver will wait for a statement to execute to the given number of seconds |
void |
setReadOnly(boolean b)
Sets whether this RowSet object is read-only to the given boolean. |
void |
setRef(int i,
Ref r)
Sets the designated parameter in this RowSet object's command with the given Ref value |
void |
setShort(int i,
short s)
Sets the designated parameter in this RowSet object's command to the given Java short value |
void |
setShowDeleted(boolean b)
See javax.sql.rowset.JdbcRowSet |
void |
setString(int i,
String s)
Sets the designated parameter in this RowSet object's command to the given Java String value |
void |
setTime(int i,
Time t)
Sets the designated parameter in this RowSet object's command to the given java.sql.Time value |
void |
setTime(int i,
Time t,
Calendar c)
Sets the designated parameter in this RowSet object's command to the given java.sql.Time value |
void |
setTimestamp(int i,
Timestamp t)
Sets the designated parameter in this RowSet object's command to the given java.sql.Timestamp value |
void |
setTimestamp(int i,
Timestamp t,
Calendar c)
Sets the designated parameter in this RowSet object's command to the given java.sql.Timestamp value |
void |
setTransactionIsolation(int i)
Sets the transaction isolation level for this RowSet obejct. |
void |
setType(int t)
Sets the type of this RowSet object to the given type. |
void |
setTypeMap(Map m)
Installs the given java.util.Map object as the default type map for this RowSet object |
void |
setUrl(String u)
Sets the URL this RowSet object will use when it uses the DriverManager to create a connection. |
void |
setUsername(String un)
Sets the username property for this RowSet object to the given String |
void |
unsetMatchColumn(int columnIdx)
Unsets the designated parameter to the given int object |
void |
unsetMatchColumn(int[] columnIdxes)
Unsets the designated parameter to the given int array |
void |
unsetMatchColumn(String columnName)
Unsets the designated parameter to the given string object |
void |
unsetMatchColumn(String[] columnNames)
Unsets the designated parameter to the given String array. |
void |
updateArray(int a,
Array b)
Updates the designated column with a java.sql.Array value |
void |
updateArray(String s,
Array b)
Updates the designated column with a java.sql.Array value |
void |
updateAsciiStream(int i,
InputStream is,
int n)
Updates the designated column with an ascii stream value |
void |
updateAsciiStream(String s,
InputStream is,
int x)
Updates the designated column with an ascii stream value |
void |
updateBigDecimal(int i,
BigDecimal bd)
Updates the designated column with a java.sql.BigDecimal value |
void |
updateBigDecimal(String s,
BigDecimal bd)
Updates the designated column with a java.sql.BigDecimal value |
void |
updateBinaryStream(int i,
InputStream is,
int n)
Updates the designated column with a binary stream value |
void |
updateBinaryStream(String s,
InputStream is,
int x)
Updates the designated column with a binary stream value |
void |
updateBlob(int a,
Blob b)
Updates the designated column with a java.sql.Blob value |
void |
updateBlob(String s,
Blob b)
Updates the designated column with a java.sql.Blob value |
void |
updateBoolean(int i,
boolean b)
Updates the designated column with a boolean value |
void |
updateByte(int i,
byte b)
Updates the designated column with a byte value |
void |
updateByte(String s,
byte b)
Updates the designated column with a byte value |
void |
updateBytes(int i,
byte[] b)
Updates the designated column with a byte array value. |
void |
updateBytes(String s,
byte[] b)
Updates the designated column with a byte array value. |
void |
updateCharacterStream(int i,
Reader r,
int n)
Updates the designated column with a character stream value |
void |
updateCharacterStream(String s,
Reader r,
int x)
Updates the designated column with a character stream value |
void |
updateClob(int a,
Clob b)
Updates the designated column with a java.sql.Clob value |
void |
updateClob(String s,
Clob b)
Updates the designated column with a java.sql.Clob value |
void |
updateDate(int i,
Date d)
Updates the designated column with a java.sql.Date value |
void |
updateDate(String s,
Date d)
Updates the designated column with a java.sql.Date value |
void |
updateDouble(int i,
double d)
Updates the designated column with a double value |
void |
updateDouble(String s,
double d)
Updates the designated column with a double value |
void |
updateFloat(int i,
float f)
Updates the designated column with a float value |
void |
updateFloat(String s,
float f)
Updates the designated column with a float value |
void |
updateInt(int i,
int x)
Updates the designated column with an int value |
void |
updateInt(String s,
int x)
Updates the designated column with an int value |
void |
updateLong(int i,
long l)
Updates the designated column with a long value |
void |
updateNull(int i)
Gives a nullable column a null value |
void |
updateNull(String s)
Gives a nullable column a null value |
void |
updateObject(int i,
Object o)
Updates the designated column with an Object value |
void |
updateObject(int i,
Object o,
int x)
Updates the designated column with an Object value |
void |
updateObject(String s,
Object o)
Updates the designated column with an Object value |
void |
updateObject(String s,
Object o,
int x)
Updates the designated column with an Object value |
void |
updateRef(int a,
Ref b)
Updates the designated column with a java.sql.Ref value |
void |
updateRef(String s,
Ref b)
Updates the designated column with a java.sql.Ref value |
void |
updateShort(int i,
short s)
Updates the designated column with a short value |
void |
updateShort(String s,
short x)
Updates the designated column with a short value |
void |
updateString(int i,
String s)
Updates the designated column with a String value. |
void |
updateString(String s,
String n)
Updates the designated column with a String value. |
void |
updateTime(int i,
Time t)
Updates the designated column with a java.sql.Time value |
void |
updateTime(String s,
Time t)
Updates the designated column with a java.sql.Time value |
void |
updateTimestamp(int i,
Timestamp t)
Updates the designated column with a java.sql.Timestamp value |
void |
updateTimestamp(String s,
Timestamp t)
Updates the designated column with a java.sql.Timestamp value |
boolean |
wasNull()
Reports whether the last column read had a value of SQL NULL |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.sql.RowSet |
---|
setEscapeProcessing |
Methods inherited from interface java.sql.ResultSet |
---|
findColumn, insertRow, refreshRow, updateBoolean, updateLong, updateRow |
Constructor Detail |
---|
public JdbcRowSetImpl()
public JdbcRowSetImpl(String url, String user, String password)
Method Detail |
---|
public void addRowSetListener(RowSetListener rsl)
addRowSetListener
in interface RowSet
public void removeRowSetListener(RowSetListener rsl)
removeRowSetListener
in interface RowSet
public ResultSetMetaData getMetaData() throws SQLException
getMetaData
in interface ResultSet
SQLException
public boolean isReadOnly()
isReadOnly
in interface RowSet
public void setReadOnly(boolean b)
setReadOnly
in interface RowSet
public boolean getShowDeleted() throws SQLException
getShowDeleted
in interface JdbcRowSet
SQLException
public void setShowDeleted(boolean b) throws SQLException
setShowDeleted
in interface JdbcRowSet
SQLException
public SQLWarning getWarnings() throws SQLException
getWarnings
in interface ResultSet
SQLException
public void clearWarnings() throws SQLException
clearWarnings
in interface ResultSet
SQLException
public RowSetWarning getRowSetWarnings()
getRowSetWarnings
in interface JdbcRowSet
public String getCursorName() throws SQLException
getCursorName
in interface ResultSet
SQLException
public Statement getStatement() throws SQLException
getStatement
in interface ResultSet
SQLException
public String getDataSourceName()
getDataSourceName
in interface RowSet
public void setDataSourceName(String s)
setDataSourceName
in interface RowSet
public String getUrl()
getUrl
in interface RowSet
public void setUrl(String u)
setUrl
in interface RowSet
public String getUsername()
getUsername
in interface RowSet
public void setUsername(String un)
setUsername
in interface RowSet
public String getPassword()
getPassword
in interface RowSet
public void setPassword(String p)
setPassword
in interface RowSet
public int getTransactionIsolation()
getTransactionIsolation
in interface RowSet
public void setTransactionIsolation(int i) throws SQLException
setTransactionIsolation
in interface RowSet
SQLException
public String getCommand()
getCommand
in interface RowSet
public void setCommand(String s)
setCommand
in interface RowSet
public int getQueryTimeout()
getQueryTimeout
in interface RowSet
public void setQueryTimeout(int t)
setQueryTimeout
in interface RowSet
public int getMaxRows()
getMaxRows
in interface RowSet
public void setMaxRows(int n)
setMaxRows
in interface RowSet
public int getMaxFieldSize()
getMaxFieldSize
in interface RowSet
public void setMaxFieldSize(int x)
setMaxFieldSize
in interface RowSet
public boolean getEscapeProcessing()
getEscapeProcessing
in interface RowSet
public int getConcurrency()
getConcurrency
in interface ResultSet
public void setConcurrency(int c)
setConcurrency
in interface RowSet
public int getType()
getType
in interface ResultSet
public void setType(int t)
setType
in interface RowSet
public int getFetchDirection()
getFetchDirection
in interface ResultSet
public void setFetchDirection(int i) throws SQLException
setFetchDirection
in interface ResultSet
SQLException
public int getFetchSize()
getFetchSize
in interface ResultSet
public void setFetchSize(int i)
setFetchSize
in interface ResultSet
public Map getTypeMap()
getTypeMap
in interface RowSet
public void setTypeMap(Map m)
setTypeMap
in interface RowSet
public void clearParameters()
clearParameters
in interface RowSet
public int getRow() throws SQLException
getRow
in interface ResultSet
SQLException
public void moveToInsertRow() throws SQLException
moveToInsertRow
in interface ResultSet
SQLException
public void moveToCurrentRow() throws SQLException
moveToCurrentRow
in interface ResultSet
SQLException
public boolean absolute(int i) throws SQLException
absolute
in interface ResultSet
SQLException
public void beforeFirst() throws SQLException
beforeFirst
in interface ResultSet
SQLException
public boolean first() throws SQLException
first
in interface ResultSet
SQLException
public boolean last() throws SQLException
last
in interface ResultSet
SQLException
public void afterLast() throws SQLException
afterLast
in interface ResultSet
SQLException
public boolean relative(int i) throws SQLException
relative
in interface ResultSet
SQLException
public boolean next() throws SQLException
next
in interface ResultSet
SQLException
public boolean previous() throws SQLException
previous
in interface ResultSet
SQLException
public boolean isBeforeFirst() throws SQLException
isBeforeFirst
in interface ResultSet
SQLException
public boolean isAfterLast() throws SQLException
isAfterLast
in interface ResultSet
SQLException
public boolean isFirst() throws SQLException
isFirst
in interface ResultSet
SQLException
public boolean isLast() throws SQLException
isLast
in interface ResultSet
SQLException
public boolean rowUpdated() throws SQLException
rowUpdated
in interface ResultSet
SQLException
public boolean rowInserted() throws SQLException
rowInserted
in interface ResultSet
SQLException
public boolean rowDeleted() throws SQLException
rowDeleted
in interface ResultSet
SQLException
public void setArray(int i, Array x) throws SQLException
setArray
in interface RowSet
SQLException
public void setAsciiStream(int i, InputStream is, int x) throws SQLException
setAsciiStream
in interface RowSet
SQLException
public void setBigDecimal(int i, BigDecimal bd) throws SQLException
setBigDecimal
in interface RowSet
SQLException
public void setBinaryStream(int i, InputStream is, int x) throws SQLException
setBinaryStream
in interface RowSet
SQLException
public void setBlob(int i, Blob b) throws SQLException
setBlob
in interface RowSet
SQLException
public void setBoolean(int i, boolean b) throws SQLException
setBoolean
in interface RowSet
SQLException
public void setByte(int i, byte b) throws SQLException
setByte
in interface RowSet
SQLException
public void setBytes(int i, byte[] b) throws SQLException
setBytes
in interface RowSet
SQLException
public void setCharacterStream(int i, Reader r, int x) throws SQLException
setCharacterStream
in interface RowSet
SQLException
public void setClob(int i, Clob c) throws SQLException
setClob
in interface RowSet
SQLException
public void setDate(int i, Date d) throws SQLException
setDate
in interface RowSet
SQLException
public void setDate(int i, Date d, Calendar c) throws SQLException
setDate
in interface RowSet
SQLException
public void setDouble(int i, double d) throws SQLException
setDouble
in interface RowSet
SQLException
public void setFloat(int i, float f) throws SQLException
setFloat
in interface RowSet
SQLException
public void setInt(int i, int x) throws SQLException
setInt
in interface RowSet
SQLException
public void setLong(int i, long l) throws SQLException
setLong
in interface RowSet
SQLException
public void setNull(int i, int x) throws SQLException
setNull
in interface RowSet
SQLException
public void setNull(int i, int x, String s) throws SQLException
setNull
in interface RowSet
SQLException
public void setObject(int i, Object o) throws SQLException
setObject
in interface RowSet
SQLException
public void setObject(int i, Object o, int x) throws SQLException
setObject
in interface RowSet
SQLException
public void setObject(int i, Object o, int x, int scale) throws SQLException
setObject
in interface RowSet
SQLException
public void setRef(int i, Ref r) throws SQLException
setRef
in interface RowSet
SQLException
public void setShort(int i, short s) throws SQLException
setShort
in interface RowSet
SQLException
public void setString(int i, String s) throws SQLException
setString
in interface RowSet
SQLException
public void setTime(int i, Time t) throws SQLException
setTime
in interface RowSet
SQLException
public void setTime(int i, Time t, Calendar c) throws SQLException
setTime
in interface RowSet
SQLException
public void setTimestamp(int i, Timestamp t) throws SQLException
setTimestamp
in interface RowSet
SQLException
public void setTimestamp(int i, Timestamp t, Calendar c) throws SQLException
setTimestamp
in interface RowSet
SQLException
public boolean wasNull() throws SQLException
wasNull
in interface ResultSet
SQLException
public String getString(int i) throws SQLException
getString
in interface ResultSet
SQLException
public String getString(String s) throws SQLException
getString
in interface ResultSet
SQLException
public int getInt(int i) throws SQLException
getInt
in interface ResultSet
SQLException
public BigDecimal getBigDecimal(int i, int scale) throws SQLException
getBigDecimal
in interface ResultSet
SQLException
public BigDecimal getBigDecimal(int i) throws SQLException
getBigDecimal
in interface ResultSet
SQLException
public BigDecimal getBigDecimal(String s) throws SQLException
getBigDecimal
in interface ResultSet
SQLException
public boolean getBoolean(String s) throws SQLException
getBoolean
in interface ResultSet
SQLException
public boolean getBoolean(int i) throws SQLException
getBoolean
in interface ResultSet
SQLException
public byte getByte(String s) throws SQLException
getByte
in interface ResultSet
SQLException
public byte getByte(int i) throws SQLException
getByte
in interface ResultSet
SQLException
public int getInt(String s) throws SQLException
getInt
in interface ResultSet
SQLException
public long getLong(int i) throws SQLException
getLong
in interface ResultSet
SQLException
public long getLong(String s) throws SQLException
getLong
in interface ResultSet
SQLException
public float getFloat(int i) throws SQLException
getFloat
in interface ResultSet
SQLException
public float getFloat(String s) throws SQLException
getFloat
in interface ResultSet
SQLException
public double getDouble(int i) throws SQLException
getDouble
in interface ResultSet
SQLException
public double getDouble(String s) throws SQLException
getDouble
in interface ResultSet
SQLException
public short getShort(String s) throws SQLException
getShort
in interface ResultSet
SQLException
public short getShort(int i) throws SQLException
getShort
in interface ResultSet
SQLException
public Object getObject(int i) throws SQLException
getObject
in interface ResultSet
SQLException
public Object getObject(String s) throws SQLException
getObject
in interface ResultSet
SQLException
public Object getObject(int i, Map m) throws SQLException
getObject
in interface ResultSet
SQLException
public byte[] getBytes(int i) throws SQLException
getBytes
in interface ResultSet
SQLException
public Date getDate(int i) throws SQLException
getDate
in interface ResultSet
SQLException
public Time getTime(int i) throws SQLException
getTime
in interface ResultSet
SQLException
public Timestamp getTimestamp(int i) throws SQLException
getTimestamp
in interface ResultSet
SQLException
public Date getDate(int i, Calendar c) throws SQLException
getDate
in interface ResultSet
SQLException
public Time getTime(int i, Calendar c) throws SQLException
getTime
in interface ResultSet
SQLException
public Timestamp getTimestamp(int i, Calendar c) throws SQLException
getTimestamp
in interface ResultSet
SQLException
public InputStream getAsciiStream(int i) throws SQLException
getAsciiStream
in interface ResultSet
SQLException
public InputStream getUnicodeStream(int i) throws SQLException
getUnicodeStream
in interface ResultSet
SQLException
public InputStream getBinaryStream(int i) throws SQLException
getBinaryStream
in interface ResultSet
SQLException
public Reader getCharacterStream(int i) throws SQLException
getCharacterStream
in interface ResultSet
SQLException
public Ref getRef(int i) throws SQLException
getRef
in interface ResultSet
SQLException
public Blob getBlob(int i) throws SQLException
getBlob
in interface ResultSet
SQLException
public Clob getClob(int i) throws SQLException
getClob
in interface ResultSet
SQLException
public Array getArray(int i) throws SQLException
getArray
in interface ResultSet
SQLException
public BigDecimal getBigDecimal(String s, int n) throws SQLException
getBigDecimal
in interface ResultSet
SQLException
public byte[] getBytes(String s) throws SQLException
getBytes
in interface ResultSet
SQLException
public Date getDate(String s) throws SQLException
getDate
in interface ResultSet
SQLException
public Time getTime(String s) throws SQLException
getTime
in interface ResultSet
SQLException
public Timestamp getTimestamp(String s) throws SQLException
getTimestamp
in interface ResultSet
SQLException
public InputStream getAsciiStream(String s) throws SQLException
getAsciiStream
in interface ResultSet
SQLException
public InputStream getUnicodeStream(String s) throws SQLException
getUnicodeStream
in interface ResultSet
SQLException
public InputStream getBinaryStream(String s) throws SQLException
getBinaryStream
in interface ResultSet
SQLException
public Object getObject(String s, Map m) throws SQLException
getObject
in interface ResultSet
SQLException
public Ref getRef(String s) throws SQLException
getRef
in interface ResultSet
SQLException
public Blob getBlob(String s) throws SQLException
getBlob
in interface ResultSet
SQLException
public Clob getClob(String s) throws SQLException
getClob
in interface ResultSet
SQLException
public Array getArray(String s) throws SQLException
getArray
in interface ResultSet
SQLException
public Date getDate(String s, Calendar c) throws SQLException
getDate
in interface ResultSet
SQLException
public Time getTime(String s, Calendar c) throws SQLException
getTime
in interface ResultSet
SQLException
public Timestamp getTimestamp(String s, Calendar c) throws SQLException
getTimestamp
in interface ResultSet
SQLException
public Reader getCharacterStream(String s) throws SQLException
getCharacterStream
in interface ResultSet
SQLException
public URL getURL(int a) throws SQLException
getURL
in interface ResultSet
SQLException
public URL getURL(String s) throws SQLException
getURL
in interface ResultSet
SQLException
public void updateString(int i, String s) throws SQLException
updateString
in interface ResultSet
SQLException
public void updateInt(int i, int x) throws SQLException
updateInt
in interface ResultSet
SQLException
public void updateNull(int i) throws SQLException
updateNull
in interface ResultSet
SQLException
public void updateAsciiStream(int i, InputStream is, int n) throws SQLException
updateAsciiStream
in interface ResultSet
SQLException
public void updateBinaryStream(int i, InputStream is, int n) throws SQLException
updateBinaryStream
in interface ResultSet
SQLException
public void updateCharacterStream(int i, Reader r, int n) throws SQLException
updateCharacterStream
in interface ResultSet
SQLException
public void updateObject(int i, Object o, int x) throws SQLException
updateObject
in interface ResultSet
SQLException
public void updateObject(int i, Object o) throws SQLException
updateObject
in interface ResultSet
SQLException
public void updateBoolean(int i, boolean b) throws SQLException
updateBoolean
in interface ResultSet
SQLException
public void updateLong(int i, long l) throws SQLException
updateLong
in interface ResultSet
SQLException
public void updateShort(int i, short s) throws SQLException
updateShort
in interface ResultSet
SQLException
public void updateByte(int i, byte b) throws SQLException
updateByte
in interface ResultSet
SQLException
public void updateBigDecimal(int i, BigDecimal bd) throws SQLException
updateBigDecimal
in interface ResultSet
SQLException
public void updateDouble(int i, double d) throws SQLException
updateDouble
in interface ResultSet
SQLException
public void updateFloat(int i, float f) throws SQLException
updateFloat
in interface ResultSet
SQLException
public void updateBytes(int i, byte[] b) throws SQLException
updateBytes
in interface ResultSet
SQLException
public void updateDate(int i, Date d) throws SQLException
updateDate
in interface ResultSet
SQLException
public void updateTimestamp(int i, Timestamp t) throws SQLException
updateTimestamp
in interface ResultSet
SQLException
public void updateTime(int i, Time t) throws SQLException
updateTime
in interface ResultSet
SQLException
public void updateString(String s, String n) throws SQLException
updateString
in interface ResultSet
SQLException
public void updateInt(String s, int x) throws SQLException
updateInt
in interface ResultSet
SQLException
public void updateNull(String s) throws SQLException
updateNull
in interface ResultSet
SQLException
public void updateObject(String s, Object o) throws SQLException
updateObject
in interface ResultSet
SQLException
public void updateAsciiStream(String s, InputStream is, int x) throws SQLException
updateAsciiStream
in interface ResultSet
SQLException
public void updateBinaryStream(String s, InputStream is, int x) throws SQLException
updateBinaryStream
in interface ResultSet
SQLException
public void updateCharacterStream(String s, Reader r, int x) throws SQLException
updateCharacterStream
in interface ResultSet
SQLException
public void updateObject(String s, Object o, int x) throws SQLException
updateObject
in interface ResultSet
SQLException
public void updateByte(String s, byte b) throws SQLException
updateByte
in interface ResultSet
SQLException
public void updateShort(String s, short x) throws SQLException
updateShort
in interface ResultSet
SQLException
public void updateFloat(String s, float f) throws SQLException
updateFloat
in interface ResultSet
SQLException
public void updateDouble(String s, double d) throws SQLException
updateDouble
in interface ResultSet
SQLException
public void updateBigDecimal(String s, BigDecimal bd) throws SQLException
updateBigDecimal
in interface ResultSet
SQLException
public void updateBytes(String s, byte[] b) throws SQLException
updateBytes
in interface ResultSet
SQLException
public void updateDate(String s, Date d) throws SQLException
updateDate
in interface ResultSet
SQLException
public void updateTime(String s, Time t) throws SQLException
updateTime
in interface ResultSet
SQLException
public void updateTimestamp(String s, Timestamp t) throws SQLException
updateTimestamp
in interface ResultSet
SQLException
public void updateBlob(int a, Blob b) throws SQLException
updateBlob
in interface ResultSet
SQLException
public void updateBlob(String s, Blob b) throws SQLException
updateBlob
in interface ResultSet
SQLException
public void updateRef(int a, Ref b) throws SQLException
updateRef
in interface ResultSet
SQLException
public void updateRef(String s, Ref b) throws SQLException
updateRef
in interface ResultSet
SQLException
public void updateClob(int a, Clob b) throws SQLException
updateClob
in interface ResultSet
SQLException
public void updateClob(String s, Clob b) throws SQLException
updateClob
in interface ResultSet
SQLException
public void updateArray(int a, Array b) throws SQLException
updateArray
in interface ResultSet
SQLException
public void updateArray(String s, Array b) throws SQLException
updateArray
in interface ResultSet
SQLException
public int[] getMatchColumnIndexes() throws SQLException
getMatchColumnIndexes
in interface Joinable
SQLException
public String[] getMatchColumnNames() throws SQLException
getMatchColumnNames
in interface Joinable
SQLException
public void setMatchColumn(int columnIdx) throws SQLException
setMatchColumn
in interface Joinable
SQLException
public void setMatchColumn(String columnName) throws SQLException
setMatchColumn
in interface Joinable
SQLException
public void setMatchColumn(int[] columnIdxes) throws SQLException
setMatchColumn
in interface Joinable
SQLException
public void setMatchColumn(String[] columnNames) throws SQLException
setMatchColumn
in interface Joinable
SQLException
public void unsetMatchColumn(int columnIdx) throws SQLException
unsetMatchColumn
in interface Joinable
SQLException
public void unsetMatchColumn(String columnName) throws SQLException
unsetMatchColumn
in interface Joinable
SQLException
public void unsetMatchColumn(int[] columnIdxes) throws SQLException
unsetMatchColumn
in interface Joinable
SQLException
public void unsetMatchColumn(String[] columnNames) throws SQLException
unsetMatchColumn
in interface Joinable
SQLException
public void execute() throws SQLException
execute
in interface RowSet
SQLException
public void deleteRow() throws SQLException
deleteRow
in interface ResultSet
SQLException
public void cancelRowUpdates() throws SQLException
cancelRowUpdates
in interface ResultSet
SQLException
public void commit() throws SQLException
commit
in interface JdbcRowSet
SQLException
public boolean getAutoCommit() throws SQLException
getAutoCommit
in interface JdbcRowSet
SQLException
public void setAutoCommit(boolean autoCommit) throws SQLException
setAutoCommit
in interface JdbcRowSet
SQLException
public void rollback() throws SQLException
rollback
in interface JdbcRowSet
SQLException
public void rollback(Savepoint s) throws SQLException
rollback
in interface JdbcRowSet
SQLException
public void close() throws SQLException
close
in interface ResultSet
SQLException
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs100 Copyright 2006 BEA Systems Inc. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |