|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectbr.ufg.integrate.wrapper.jdbc.IntegrateResultSet
public abstract class IntegrateResultSet
| 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 | |
|---|---|
IntegrateResultSet()
|
|
| Method Summary | |
|---|---|
boolean |
absolute(int row)
/** |
void |
afterLast()
|
void |
beforeFirst()
|
void |
cancelRowUpdates()
Cancels the updates made to the current row in this ResultSet object. |
void |
clearWarnings()
Clears all warnings reported on this ResultSet object. |
abstract void |
close()
|
void |
deleteRow()
Deletes the current row from this ResultSet object
and from the underlying database. |
abstract int |
findColumn(String columnName)
|
abstract boolean |
first()
|
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 colName)
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 columnIndex)
|
InputStream |
getAsciiStream(String columnName)
|
BigDecimal |
getBigDecimal(int columnIndex)
|
BigDecimal |
getBigDecimal(int columnIndex,
int scale)
|
BigDecimal |
getBigDecimal(String columnName)
|
BigDecimal |
getBigDecimal(String columnName,
int scale)
|
InputStream |
getBinaryStream(int columnIndex)
|
InputStream |
getBinaryStream(String columnName)
|
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 colName)
Retrieves the value of the designated column in the current row of this ResultSet object as a Blob object
in the Java programming language. |
abstract boolean |
getBoolean(int columnIndex)
|
abstract boolean |
getBoolean(String columnName)
|
byte |
getByte(int columnIndex)
|
byte |
getByte(String columnName)
|
byte[] |
getBytes(int columnIndex)
|
byte[] |
getBytes(String columnName)
|
Reader |
getCharacterStream(int columnIndex)
|
Reader |
getCharacterStream(String columnName)
|
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 colName)
Retrieves the value of the designated column in the current row of this ResultSet object as a Clob object
in the Java programming language. |
int |
getConcurrency()
|
String |
getCursorName()
Retrieves the name of the SQL cursor used by this ResultSet
object. |
abstract Date |
getDate(int columnIndex)
|
Date |
getDate(int columnIndex,
Calendar cal)
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. |
abstract Date |
getDate(String columnName)
|
Date |
getDate(String columnName,
Calendar cal)
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. |
abstract double |
getDouble(int columnIndex)
|
abstract double |
getDouble(String columnName)
|
int |
getFetchDirection()
|
int |
getFetchSize()
Retrieves the fetch size for this ResultSet object. |
abstract float |
getFloat(int columnIndex)
|
abstract float |
getFloat(String columnName)
|
int |
getHoldability()
|
abstract int |
getInt(int columnIndex)
|
abstract int |
getInt(String columnName)
|
abstract long |
getLong(int columnIndex)
|
abstract long |
getLong(String columnName)
|
abstract ResultSetMetaData |
getMetaData()
Retrieves the number, types and properties of this ResultSet object's columns. |
Reader |
getNCharacterStream(int arg0)
|
Reader |
getNCharacterStream(String arg0)
|
NClob |
getNClob(int arg0)
|
NClob |
getNClob(String arg0)
|
String |
getNString(int arg0)
|
String |
getNString(String arg0)
|
abstract Object |
getObject(int columnIndex)
|
Object |
getObject(int i,
Map map)
Retrieves the value of the designated column in the current row of this ResultSet object as an Object
in the Java programming language. |
abstract Object |
getObject(String columnName)
|
Object |
getObject(String colName,
Map map)
Retrieves the value of the designated column in the current row of this ResultSet object as an Object
in the Java programming language. |
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 colName)
Retrieves the value of the designated column in the current row of this ResultSet object as a Ref object
in the Java programming language. |
abstract int |
getRow()
|
RowId |
getRowId(int arg0)
|
RowId |
getRowId(String arg0)
|
abstract short |
getShort(int columnIndex)
|
abstract short |
getShort(String columnName)
|
SQLXML |
getSQLXML(int arg0)
|
SQLXML |
getSQLXML(String arg0)
|
abstract Statement |
getStatement()
|
abstract String |
getString(int columnIndex)
|
abstract String |
getString(String columnName)
|
abstract Time |
getTime(int columnIndex)
|
Time |
getTime(int columnIndex,
Calendar cal)
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. |
abstract Time |
getTime(String columnName)
|
Time |
getTime(String columnName,
Calendar cal)
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 columnIndex)
|
Timestamp |
getTimestamp(int columnIndex,
Calendar cal)
Retrieves the value of the designated column in the current row of this ResultSet object as a
java.sql.Timestamp object in the Java programming language. |
Timestamp |
getTimestamp(String columnName)
|
Timestamp |
getTimestamp(String columnName,
Calendar cal)
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. |
abstract int |
getType()
|
InputStream |
getUnicodeStream(int columnIndex)
|
InputStream |
getUnicodeStream(String columnName)
|
URL |
getURL(int columnIndex)
|
URL |
getURL(String columnName)
|
SQLWarning |
getWarnings()
Retrieves the first warning reported by calls on this ResultSet object. |
void |
insertRow()
Inserts the contents of the insert row into this ResultSet object and into the database. |
boolean |
isAfterLast()
|
boolean |
isBeforeFirst()
|
abstract boolean |
isClosed()
|
abstract boolean |
isFirst()
|
abstract boolean |
isLast()
|
boolean |
isWrapperFor(Class arg0)
|
abstract boolean |
last()
|
void |
moveToCurrentRow()
Moves the cursor to the remembered cursor position, usually the current row. |
void |
moveToInsertRow()
Moves the cursor to the insert row. |
abstract boolean |
next()
|
abstract boolean |
previous()
|
void |
refreshRow()
Refreshes the current row with its most recent value in the database. |
boolean |
relative(int rows)
|
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 |
setFetchDirection(int direction)
Gives a hint as to the direction in which the rows in this ResultSet object will be processed. |
void |
setFetchSize(int rows)
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. |
Object |
unwrap(Class arg0)
|
void |
updateArray(int columnIndex,
Array x)
|
void |
updateArray(String columnName,
Array x)
|
void |
updateAsciiStream(int arg0,
InputStream arg1)
|
void |
updateAsciiStream(int columnIndex,
InputStream x,
int length)
Updates the designated column with an ascii stream value. |
void |
updateAsciiStream(int arg0,
InputStream arg1,
long arg2)
|
void |
updateAsciiStream(String arg0,
InputStream arg1)
|
void |
updateAsciiStream(String columnName,
InputStream x,
int length)
Updates the designated column with an ascii stream value. |
void |
updateAsciiStream(String arg0,
InputStream arg1,
long arg2)
|
void |
updateBigDecimal(int columnIndex,
BigDecimal x)
Updates the designated column with a java.math.BigDecimal
value. |
void |
updateBigDecimal(String columnName,
BigDecimal x)
Updates the designated column with a java.sql.BigDecimal
value. |
void |
updateBinaryStream(int arg0,
InputStream arg1)
|
void |
updateBinaryStream(int columnIndex,
InputStream x,
int length)
Updates the designated column with a binary stream value. |
void |
updateBinaryStream(int arg0,
InputStream arg1,
long arg2)
|
void |
updateBinaryStream(String arg0,
InputStream arg1)
|
void |
updateBinaryStream(String columnName,
InputStream x,
int length)
Updates the designated column with a binary stream value. |
void |
updateBinaryStream(String arg0,
InputStream arg1,
long arg2)
|
void |
updateBlob(int columnIndex,
Blob x)
|
void |
updateBlob(int arg0,
InputStream arg1)
|
void |
updateBlob(int arg0,
InputStream arg1,
long arg2)
|
void |
updateBlob(String columnName,
Blob x)
|
void |
updateBlob(String arg0,
InputStream arg1)
|
void |
updateBlob(String arg0,
InputStream arg1,
long arg2)
|
void |
updateBoolean(int columnIndex,
boolean x)
Updates the designated column with a boolean value. |
void |
updateBoolean(String columnName,
boolean x)
Updates the designated column with a boolean value. |
void |
updateByte(int columnIndex,
byte x)
Updates the designated column with a byte value. |
void |
updateByte(String columnName,
byte x)
Updates the designated column with a byte value. |
void |
updateBytes(int columnIndex,
byte[] x)
|
void |
updateBytes(String columnName,
byte[] x)
Updates the designated column with a byte array value. |
void |
updateCharacterStream(int arg0,
Reader arg1)
|
void |
updateCharacterStream(int columnIndex,
Reader x,
int length)
Updates the designated column with a character stream value. |
void |
updateCharacterStream(int arg0,
Reader arg1,
long arg2)
|
void |
updateCharacterStream(String arg0,
Reader arg1)
|
void |
updateCharacterStream(String columnNameIndex,
Reader x,
int length)
Updates the designated column with a character stream value. |
void |
updateCharacterStream(String arg0,
Reader arg1,
long arg2)
|
void |
updateClob(int columnIndex,
Clob x)
|
void |
updateClob(int arg0,
Reader arg1)
|
void |
updateClob(int arg0,
Reader arg1,
long arg2)
|
void |
updateClob(String columnName,
Clob x)
|
void |
updateClob(String arg0,
Reader arg1)
|
void |
updateClob(String arg0,
Reader arg1,
long arg2)
|
void |
updateDate(int columnIndex,
Date x)
Updates the designated column with a java.sql.Date value. |
void |
updateDate(String columnName,
Date x)
Updates the designated column with a java.sql.Date value. |
void |
updateDouble(int columnIndex,
double x)
Updates the designated column with a double value. |
void |
updateDouble(String columnName,
double x)
Updates the designated column with a double value. |
void |
updateFloat(int columnIndex,
float x)
Updates the designated column with a float value. |
void |
updateFloat(String columnName,
float x)
Updates the designated column with a float value. |
void |
updateInt(int columnIndex,
int x)
Updates the designated column with an int value. |
void |
updateInt(String columnName,
int x)
Updates the designated column with an int value. |
void |
updateLong(int columnIndex,
long x)
Updates the designated column with a long value. |
void |
updateLong(String columnName,
long x)
Updates the designated column with a long value. |
void |
updateNCharacterStream(int arg0,
Reader arg1)
|
void |
updateNCharacterStream(int arg0,
Reader arg1,
long arg2)
|
void |
updateNCharacterStream(String arg0,
Reader arg1)
|
void |
updateNCharacterStream(String arg0,
Reader arg1,
long arg2)
|
void |
updateNClob(int arg0,
NClob arg1)
|
void |
updateNClob(int arg0,
Reader arg1)
|
void |
updateNClob(int arg0,
Reader arg1,
long arg2)
|
void |
updateNClob(String arg0,
NClob arg1)
|
void |
updateNClob(String arg0,
Reader arg1)
|
void |
updateNClob(String arg0,
Reader arg1,
long arg2)
|
void |
updateNString(int arg0,
String arg1)
|
void |
updateNString(String arg0,
String arg1)
|
void |
updateNull(int columnIndex)
Gives a nullable column a null value. |
void |
updateNull(String columnName)
Updates the designated column with a null value. |
void |
updateObject(int columnIndex,
Object x)
Updates the designated column with an Object value. |
void |
updateObject(int columnIndex,
Object x,
int scale)
|
void |
updateObject(String columnName,
Object x)
Updates the designated column with an Object value. |
void |
updateObject(String columnName,
Object x,
int scale)
Updates the designated column with an Object value. |
void |
updateRef(int columnIndex,
Ref x)
|
void |
updateRef(String columnName,
Ref x)
|
void |
updateRow()
Updates the underlying database with the new contents of the current row of this ResultSet object. |
void |
updateRowId(int arg0,
RowId arg1)
|
void |
updateRowId(String arg0,
RowId arg1)
|
void |
updateShort(int columnIndex,
short x)
|
void |
updateShort(String columnName,
short x)
Updates the designated column with a short value. |
void |
updateSQLXML(int arg0,
SQLXML arg1)
|
void |
updateSQLXML(String arg0,
SQLXML arg1)
|
void |
updateString(int columnIndex,
String x)
Updates the designated column with a String value. |
void |
updateString(String columnName,
String x)
Updates the designated column with a String value. |
void |
updateTime(int columnIndex,
Time x)
Updates the designated column with a java.sql.Time value. |
void |
updateTime(String columnName,
Time x)
Updates the designated column with a java.sql.Time value. |
void |
updateTimestamp(int columnIndex,
Timestamp x)
Updates the designated column with a java.sql.Timestamp
value. |
void |
updateTimestamp(String columnName,
Timestamp x)
Updates the designated column with a java.sql.Timestamp
value. |
boolean |
wasNull()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IntegrateResultSet()
| Method Detail |
|---|
public boolean absolute(int row)
throws SQLException
absolute in interface ResultSetSQLExceptionResultSet.absolute(int)
public void afterLast()
throws SQLException
afterLast in interface ResultSetSQLExceptionResultSet.afterLast()
public void beforeFirst()
throws SQLException
beforeFirst in interface ResultSetSQLExceptionResultSet.beforeFirst()
public void cancelRowUpdates()
throws SQLException
ResultSet object.
This method may be called after calling an
updater method(s) and before calling
the method updateRow to roll back
the updates made to a row. If no updates have been made or
updateRow has already been called, this method has no
effect.
cancelRowUpdates in interface ResultSetSQLException - if a database access error
occurs or if this method is called when the cursor is
on the insert row
public void clearWarnings()
throws SQLException
ResultSet object.
After this method is called, the method getWarnings
returns null until a new warning is
reported for this ResultSet object.
clearWarnings in interface ResultSetSQLException - if a database access error occurs
public abstract void close()
throws SQLException
close in interface ResultSetSQLExceptionResultSet.close()
public void deleteRow()
throws SQLException
ResultSet object
and from the underlying database. This method cannot be called when
the cursor is on the insert row.
deleteRow in interface ResultSetSQLException - if a database access error occurs
or if this method is called when the cursor is on the insert row
public abstract int findColumn(String columnName)
throws SQLException
findColumn in interface ResultSetSQLExceptionResultSet.findColumn(java.lang.String)
public abstract boolean first()
throws SQLException
first in interface ResultSetSQLException
public Array getArray(int i)
throws SQLException
ResultSet object as an Array object
in the Java programming language.
getArray in interface ResultSeti - the first column is 1, the second is 2, ...
Array object representing the SQL
ARRAY value in the specified column
SQLException - if a database access error occurs
public Array getArray(String colName)
throws SQLException
ResultSet object as an Array object
in the Java programming language.
getArray in interface ResultSetcolName - the name of the column from which to retrieve the value
Array object representing the SQL
ARRAY value in the specified column
SQLException - if a database access error occurs
public InputStream getAsciiStream(int columnIndex)
throws SQLException
getAsciiStream in interface ResultSetSQLExceptionResultSet.getAsciiStream(int)
public InputStream getAsciiStream(String columnName)
throws SQLException
getAsciiStream in interface ResultSetSQLExceptionResultSet.getAsciiStream(int)
public BigDecimal getBigDecimal(int columnIndex)
throws SQLException
getBigDecimal in interface ResultSetSQLExceptionResultSet.getBigDecimal(int, int)
public BigDecimal getBigDecimal(int columnIndex,
int scale)
throws SQLException
getBigDecimal in interface ResultSetSQLExceptionResultSet.getBigDecimal(int, int)
public BigDecimal getBigDecimal(String columnName)
throws SQLException
getBigDecimal in interface ResultSetSQLExceptionResultSet.getBigDecimal(int, int)
public BigDecimal getBigDecimal(String columnName,
int scale)
throws SQLException
getBigDecimal in interface ResultSetSQLExceptionResultSet.getBigDecimal(int, int)
public InputStream getBinaryStream(int columnIndex)
throws SQLException
getBinaryStream in interface ResultSetSQLExceptionResultSet.getBinaryStream(int)
public InputStream getBinaryStream(String columnName)
throws SQLException
getBinaryStream in interface ResultSetSQLExceptionResultSet.getBinaryStream(int)
public Blob getBlob(int i)
throws SQLException
ResultSet object as a Blob object
in the Java programming language.
getBlob in interface ResultSeti - the first column is 1, the second is 2, ...
Blob object representing the SQL
BLOB value in the specified column
SQLException - if a database access error occurs
public Blob getBlob(String colName)
throws SQLException
ResultSet object as a Blob object
in the Java programming language.
getBlob in interface ResultSetcolName - the name of the column from which to retrieve the value
Blob object representing the SQL BLOB
value in the specified column
SQLException - if a database access error occurs
public abstract boolean getBoolean(int columnIndex)
throws SQLException
getBoolean in interface ResultSetSQLExceptionResultSet.getBoolean(int)
public abstract boolean getBoolean(String columnName)
throws SQLException
getBoolean in interface ResultSetSQLExceptionResultSet.getBoolean(int)
public byte getByte(int columnIndex)
throws SQLException
getByte in interface ResultSetSQLExceptionResultSet.getByte(int)
public byte getByte(String columnName)
throws SQLException
getByte in interface ResultSetSQLExceptionResultSet.getByte(int)
public byte[] getBytes(int columnIndex)
throws SQLException
getBytes in interface ResultSetSQLExceptionResultSet.getBytes(int)
public byte[] getBytes(String columnName)
throws SQLException
getBytes in interface ResultSetSQLExceptionResultSet.getBytes(int)
public Reader getCharacterStream(int columnIndex)
throws SQLException
getCharacterStream in interface ResultSetSQLExceptionResultSet.getCharacterStream(int)
public Reader getCharacterStream(String columnName)
throws SQLException
getCharacterStream in interface ResultSetSQLExceptionResultSet.getCharacterStream(int)
public Clob getClob(int i)
throws SQLException
ResultSet object as a Clob object
in the Java programming language.
getClob in interface ResultSeti - the first column is 1, the second is 2, ...
Clob object representing the SQL
CLOB value in the specified column
SQLException - if a database access error occurs
public Clob getClob(String colName)
throws SQLException
ResultSet object as a Clob object
in the Java programming language.
getClob in interface ResultSetcolName - the name of the column from which to retrieve the value
Clob object representing the SQL CLOB
value in the specified column
SQLException - if a database access error occurs
public int getConcurrency()
throws SQLException
getConcurrency in interface ResultSetSQLExceptionResultSet.getConcurrency()
public String getCursorName()
throws SQLException
ResultSet
object.
In SQL, a result table is retrieved through a cursor that is
named. The current row of a result set can be updated or deleted
using a positioned update/delete statement that references the
cursor name. To insure that the cursor has the proper isolation
level to support update, the cursor's SELECT statement
should be of the form SELECT FOR UPDATE. If
FOR UPDATE is omitted, the positioned updates may fail.
The JDBC API supports this SQL feature by providing the name of the
SQL cursor used by a ResultSet object.
The current row of a ResultSet object
is also the current row of this SQL cursor.
Note: If positioned update is not supported, a
SQLException is thrown.
getCursorName in interface ResultSetResultSet object's cursor
SQLException - if a database access error occurs
public abstract Date getDate(int columnIndex)
throws SQLException
getDate in interface ResultSetSQLExceptionResultSet.getDate(int)
public Date getDate(int columnIndex,
Calendar cal)
throws SQLException
ResultSet object as a java.sql.Date
object in the Java programming language.
This method uses the given calendar to construct an appropriate
millisecond value for the date if the underlying database does not store
timezone information.
getDate in interface ResultSetcolumnIndex - the first column is 1, the second is 2, ...cal - the java.util.Calendar object
to use in constructing the date
java.sql.Date object;
if the value is SQL NULL,
the value returned is null in the Java programming language
SQLException - if a database access error occurs
public abstract Date getDate(String columnName)
throws SQLException
getDate in interface ResultSetSQLExceptionResultSet.getDate(int)
public Date getDate(String columnName,
Calendar cal)
throws SQLException
ResultSet object as a java.sql.Date
object in the Java programming language.
This method uses the given calendar to construct an appropriate
millisecond value for the date if the underlying database does not store
timezone information.
getDate in interface ResultSetcolumnName - the SQL name of the column from which to retrieve the
valuecal - the java.util.Calendar object
to use in constructing the date
java.sql.Date object;
if the value is SQL NULL,
the value returned is null in the Java programming language
SQLException - if a database access error occurs
public abstract double getDouble(int columnIndex)
throws SQLException
getDouble in interface ResultSetSQLExceptionResultSet.getDouble(int)
public abstract double getDouble(String columnName)
throws SQLException
getDouble in interface ResultSetSQLExceptionResultSet.getDouble(int)
public int getFetchDirection()
throws SQLException
getFetchDirection in interface ResultSetSQLExceptionResultSet.getFetchDirection()
public int getFetchSize()
throws SQLException
ResultSet object.
getFetchSize in interface ResultSetResultSet object
SQLException - if a database access error occurssetFetchSize(int)
public abstract float getFloat(int columnIndex)
throws SQLException
getFloat in interface ResultSetSQLExceptionResultSet.getFloat(int)
public abstract float getFloat(String columnName)
throws SQLException
getFloat in interface ResultSetSQLExceptionResultSet.getFloat(int)
public int getHoldability()
throws SQLException
getHoldability in interface ResultSetSQLExceptionResultSet.getHoldability()
public abstract int getInt(int columnIndex)
throws SQLException
getInt in interface ResultSetSQLExceptionResultSet.getInt(int)
public abstract int getInt(String columnName)
throws SQLException
getInt in interface ResultSetSQLExceptionResultSet.getInt(int)
public abstract long getLong(int columnIndex)
throws SQLException
getLong in interface ResultSetSQLExceptionResultSet.getLong(int)
public abstract long getLong(String columnName)
throws SQLException
getLong in interface ResultSetSQLExceptionResultSet.getLong(int)
public abstract ResultSetMetaData getMetaData()
throws SQLException
ResultSet object's columns.
getMetaData in interface ResultSetResultSet object's columns
SQLException - if a database access error occurs
public Reader getNCharacterStream(int arg0)
throws SQLException
getNCharacterStream in interface ResultSetSQLExceptionResultSet.getNCharacterStream(int)
public Reader getNCharacterStream(String arg0)
throws SQLException
getNCharacterStream in interface ResultSetSQLExceptionResultSet.getNCharacterStream(int)
public NClob getNClob(int arg0)
throws SQLException
getNClob in interface ResultSetSQLExceptionResultSet.getNClob(int)
public NClob getNClob(String arg0)
throws SQLException
getNClob in interface ResultSetSQLExceptionResultSet.getNClob(int)
public String getNString(int arg0)
throws SQLException
getNString in interface ResultSetSQLExceptionResultSet.getNString(int)
public String getNString(String arg0)
throws SQLException
getNString in interface ResultSetSQLExceptionResultSet.getNString(int)
public abstract Object getObject(int columnIndex)
throws SQLException
getObject in interface ResultSetSQLExceptionResultSet.getObject(int)
public Object getObject(int i,
Map map)
throws SQLException
ResultSet object as an Object
in the Java programming language.
If the value is an SQL NULL,
the driver returns a Java null.
This method uses the given Map object
for the custom mapping of the
SQL structured or distinct type that is being retrieved.
getObject in interface ResultSeti - the first column is 1, the second is 2, ...map - a java.util.Map object that contains the mapping
from SQL type names to classes in the Java programming language
Object in the Java programming language
representing the SQL value
SQLException - if a database access error occurs
public abstract Object getObject(String columnName)
throws SQLException
getObject in interface ResultSetSQLExceptionResultSet.getObject(int)
public Object getObject(String colName,
Map map)
throws SQLException
ResultSet object as an Object
in the Java programming language.
If the value is an SQL NULL,
the driver returns a Java null.
This method uses the specified Map object for
custom mapping if appropriate.
getObject in interface ResultSetcolName - the name of the column from which to retrieve the valuemap - a java.util.Map object that contains the mapping
from SQL type names to classes in the Java programming language
Object representing the SQL value in the
specified column
SQLException - if a database access error occurs
public Ref getRef(int i)
throws SQLException
ResultSet object as a Ref object
in the Java programming language.
getRef in interface ResultSeti - the first column is 1, the second is 2, ...
Ref object representing an SQL REF
value
SQLException - if a database access error occurs
public Ref getRef(String colName)
throws SQLException
ResultSet object as a Ref object
in the Java programming language.
getRef in interface ResultSetcolName - the column name
Ref object representing the SQL REF
value in the specified column
SQLException - if a database access error occurs
public abstract int getRow()
throws SQLException
getRow in interface ResultSetSQLExceptionResultSet.getRow()
public RowId getRowId(int arg0)
throws SQLException
getRowId in interface ResultSetSQLExceptionResultSet.getRowId(int)
public RowId getRowId(String arg0)
throws SQLException
getRowId in interface ResultSetSQLExceptionResultSet.getRowId(int)
public abstract short getShort(int columnIndex)
throws SQLException
getShort in interface ResultSetSQLExceptionResultSet.getShort(int)
public abstract short getShort(String columnName)
throws SQLException
getShort in interface ResultSetSQLExceptionResultSet.getShort(int)
public SQLXML getSQLXML(int arg0)
throws SQLException
getSQLXML in interface ResultSetSQLExceptionResultSet.getSQLXML(int)
public SQLXML getSQLXML(String arg0)
throws SQLException
getSQLXML in interface ResultSetSQLExceptionResultSet.getSQLXML(int)
public abstract Statement getStatement()
throws SQLException
getStatement in interface ResultSetSQLExceptionResultSet.getStatement()
public abstract String getString(int columnIndex)
throws SQLException
getString in interface ResultSetSQLExceptionResultSet.getString(int)
public abstract String getString(String columnName)
throws SQLException
getString in interface ResultSetSQLExceptionResultSet.getString(int)
public abstract Time getTime(int columnIndex)
throws SQLException
getTime in interface ResultSetSQLExceptionResultSet.getTime(int)
public Time getTime(int columnIndex,
Calendar cal)
throws SQLException
ResultSet object as a java.sql.Time
object in the Java programming language.
This method uses the given calendar to construct an appropriate
millisecond value for the time if the underlying database does not store
timezone information.
getTime in interface ResultSetcolumnIndex - the first column is 1, the second is 2, ...cal - the java.util.Calendar object
to use in constructing the time
java.sql.Time object;
if the value is SQL NULL,
the value returned is null in the Java programming language
SQLException - if a database access error occurs
public abstract Time getTime(String columnName)
throws SQLException
getTime in interface ResultSetSQLExceptionResultSet.getTime(int)
public Time getTime(String columnName,
Calendar cal)
throws SQLException
ResultSet object as a java.sql.Time
object in the Java programming language.
This method uses the given calendar to construct an appropriate
millisecond value for the time if the underlying database does not store
timezone information.
getTime in interface ResultSetcolumnName - the SQL name of the columncal - the java.util.Calendar object
to use in constructing the time
java.sql.Time object;
if the value is SQL NULL,
the value returned is null in the Java programming language
SQLException - if a database access error occurs
public Timestamp getTimestamp(int columnIndex)
throws SQLException
getTimestamp in interface ResultSetSQLExceptionResultSet.getTimestamp(int)
public Timestamp getTimestamp(int columnIndex,
Calendar cal)
throws SQLException
ResultSet object as a
java.sql.Timestamp object in the Java programming language.
This method uses the given calendar to construct an appropriate
millisecond value for the timestamp if the underlying database does not
store timezone information.
getTimestamp in interface ResultSetcolumnIndex - the first column is 1, the second is 2, ...cal - the java.util.Calendar object
to use in constructing the timestamp
java.sql.Timestamp object;
if the value is SQL NULL,
the value returned is null in the Java programming language
SQLException - if a database access error occurs
public Timestamp getTimestamp(String columnName)
throws SQLException
getTimestamp in interface ResultSetSQLExceptionResultSet.getTimestamp(int)
public Timestamp getTimestamp(String columnName,
Calendar cal)
throws SQLException
ResultSet object as a java.sql.Time
object in the Java programming language.
This method uses the given calendar to construct an appropriate
millisecond value for the time if the underlying database does not store
timezone information.
getTimestamp in interface ResultSetcolumnName - the SQL name of the columncal - the java.util.Calendar object
to use in constructing the time
java.sql.Time object;
if the value is SQL NULL,
the value returned is null in the Java programming language
SQLException - if a database access error occurs
public abstract int getType()
throws SQLException
getType in interface ResultSetSQLExceptionResultSet.getType()
public InputStream getUnicodeStream(int columnIndex)
throws SQLException
getUnicodeStream in interface ResultSetSQLExceptionResultSet.getUnicodeStream(int)
public InputStream getUnicodeStream(String columnName)
throws SQLException
getUnicodeStream in interface ResultSetSQLExceptionResultSet.getUnicodeStream(int)
public URL getURL(int columnIndex)
throws SQLException
getURL in interface ResultSetSQLExceptionResultSet.getURL(int)
public URL getURL(String columnName)
throws SQLException
getURL in interface ResultSetSQLExceptionResultSet.getURL(int)
public SQLWarning getWarnings()
throws SQLException
ResultSet object.
Subsequent warnings on this ResultSet object
will be chained to the SQLWarning object that
this method returns.
The warning chain is automatically cleared each time a new
row is read. This method may not be called on a ResultSet
object that has been closed; doing so will cause an
SQLException to be thrown.
Note: This warning chain only covers warnings caused
by ResultSet methods. Any warning caused by
Statement methods
(such as reading OUT parameters) will be chained on the
Statement object.
getWarnings in interface ResultSetSQLWarning object reported or
null if there are none
SQLException - if a database access error occurs or this method
is called on a closed result set
public void insertRow()
throws SQLException
ResultSet object and into the database.
The cursor must be on the insert row when this method is called.
insertRow in interface ResultSetSQLException - if a database access error occurs,
if this method is called when the cursor is not on the insert row,
or if not all of non-nullable columns in
the insert row have been given a value
public boolean isAfterLast()
throws SQLException
isAfterLast in interface ResultSetSQLExceptionResultSet.isAfterLast()
public boolean isBeforeFirst()
throws SQLException
isBeforeFirst in interface ResultSetSQLExceptionResultSet.isBeforeFirst()
public abstract boolean isClosed()
throws SQLException
isClosed in interface ResultSetSQLExceptionResultSet.isClosed()
public abstract boolean isFirst()
throws SQLException
isFirst in interface ResultSetSQLExceptionResultSet.isFirst()
public abstract boolean isLast()
throws SQLException
isLast in interface ResultSetSQLExceptionResultSet.isLast()
public boolean isWrapperFor(Class arg0)
throws SQLException
isWrapperFor in interface WrapperSQLExceptionWrapper.isWrapperFor(java.lang.Class>)
public abstract boolean last()
throws SQLException
last in interface ResultSetSQLExceptionResultSet.last()
public void moveToCurrentRow()
throws SQLException
moveToCurrentRow in interface ResultSetSQLException - if a database access error occurs
or the result set is not updatable
public void moveToInsertRow()
throws SQLException
insertRow methods may be
called when the cursor is on the insert row. All of the columns in
a result set must be given a value each time this method is
called before calling insertRow.
An updater method must be called before a
getter method can be called on a column value.
moveToInsertRow in interface ResultSetSQLException - if a database access error occurs
or the result set is not updatable
public abstract boolean next()
throws SQLException
next in interface ResultSetSQLExceptionResultSet.next()
public abstract boolean previous()
throws SQLException
previous in interface ResultSetSQLExceptionResultSet.previous()
public void refreshRow()
throws SQLException
The refreshRow method provides a way for an
application to
explicitly tell the JDBC driver to refetch a row(s) from the
database. An application may want to call refreshRow when
caching or prefetching is being done by the JDBC driver to
fetch the latest value of a row from the database. The JDBC driver
may actually refresh multiple rows at once if the fetch size is
greater than one.
All values are refetched subject to the transaction isolation
level and cursor sensitivity. If refreshRow is called after
calling an updater method, but before calling
the method updateRow, then the
updates made to the row are lost. Calling the method
refreshRow frequently will likely slow performance.
refreshRow in interface ResultSetSQLException - if a database access error
occurs or if this method is called when the cursor is on the insert row
public boolean relative(int rows)
throws SQLException
relative in interface ResultSetSQLExceptionResultSet.relative(int)
public boolean rowDeleted()
throws SQLException
ResultSet object can detect deletions.
rowDeleted in interface ResultSettrue if a row was deleted and deletions are
detected; false otherwise
SQLException - if a database access error occursDatabaseMetaData.deletesAreDetected(int)
public boolean rowInserted()
throws SQLException
ResultSet object can detect visible inserts.
rowInserted in interface ResultSettrue if a row has had an insertion
and insertions are detected; false otherwise
SQLException - if a database access error occursDatabaseMetaData.insertsAreDetected(int)
public boolean rowUpdated()
throws SQLException
rowUpdated in interface ResultSettrue if both (1) the row has been visibly updated
by the owner or another and (2) updates are detected
SQLException - if a database access error occursDatabaseMetaData.updatesAreDetected(int)
public void setFetchDirection(int direction)
throws SQLException
ResultSet object will be processed. The initial value is
determined by the Statement object that produced this
ResultSet object. The fetch direction may be changed at
any time.
setFetchDirection in interface ResultSetdirection - an int specifying the suggested
fetch direction; one of ResultSet.FETCH_FORWARD,
ResultSet.FETCH_REVERSE, or
ResultSet.FETCH_UNKNOWN
SQLException - if a database access error occurs or
the result set type is TYPE_FORWARD_ONLY
and the fetch direction is not FETCH_FORWARD
public void setFetchSize(int rows)
throws SQLException
ResultSet object. If the fetch size specified is zero,
the JDBC driver ignores the value and is free to make its own best
guess as to what the fetch size should be. The default value is set
by the Statement object that created the result set.
The fetch size may be changed at any time.
setFetchSize in interface ResultSetrows - the number of rows to fetch
SQLException - if a database access error occurs or the
condition 0 <= rows <= this.getMaxRows() is not satisfied
public Object unwrap(Class arg0)
throws SQLException
unwrap in interface WrapperSQLExceptionWrapper.unwrap(java.lang.Class)
public void updateArray(int columnIndex,
Array x)
throws SQLException
updateArray in interface ResultSetSQLExceptionResultSet.updateArray(int, java.sql.Array)
public void updateArray(String columnName,
Array x)
throws SQLException
updateArray in interface ResultSetSQLExceptionResultSet.updateArray(int, java.sql.Array)
public void updateAsciiStream(int arg0,
InputStream arg1)
throws SQLException
updateAsciiStream in interface ResultSetSQLExceptionResultSet.updateAsciiStream(int, java.io.InputStream, int)
public void updateAsciiStream(String arg0,
InputStream arg1)
throws SQLException
updateAsciiStream in interface ResultSetSQLExceptionResultSet.updateAsciiStream(int, java.io.InputStream, int)
public void updateAsciiStream(int arg0,
InputStream arg1,
long arg2)
throws SQLException
updateAsciiStream in interface ResultSetSQLExceptionResultSet.updateAsciiStream(int, java.io.InputStream, int)
public void updateAsciiStream(String arg0,
InputStream arg1,
long arg2)
throws SQLException
updateAsciiStream in interface ResultSetSQLExceptionResultSet.updateAsciiStream(int, java.io.InputStream, int)
public void updateAsciiStream(int columnIndex,
InputStream x,
int length)
throws SQLException
updateRow or
insertRow methods are called to update the database.
updateAsciiStream in interface ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column valuelength - the length of the stream
SQLException - if a database access error occurs
public void updateAsciiStream(String columnName,
InputStream x,
int length)
throws SQLException
updateRow or
insertRow methods are called to update the database.
updateAsciiStream in interface ResultSetcolumnName - the name of the columnx - the new column valuelength - the length of the stream
SQLException - if a database access error occurs
public void updateBigDecimal(int columnIndex,
BigDecimal x)
throws SQLException
java.math.BigDecimal
value.
The updater methods are used to update column values in the
current row or the insert row. The updater methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
updateBigDecimal in interface ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
SQLException - if a database access error occurs
public void updateBigDecimal(String columnName,
BigDecimal x)
throws SQLException
java.sql.BigDecimal
value.
The updater methods are used to update column values in the
current row or the insert row. The updater methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
updateBigDecimal in interface ResultSetcolumnName - the name of the columnx - the new column value
SQLException - if a database access error occurs
public void updateBinaryStream(int arg0,
InputStream arg1)
throws SQLException
updateBinaryStream in interface ResultSetSQLExceptionResultSet.updateBinaryStream(int, java.io.InputStream, int)
public void updateBinaryStream(String arg0,
InputStream arg1)
throws SQLException
updateBinaryStream in interface ResultSetSQLExceptionResultSet.updateBinaryStream(int, java.io.InputStream, int)
public void updateBinaryStream(int arg0,
InputStream arg1,
long arg2)
throws SQLException
updateBinaryStream in interface ResultSetSQLExceptionResultSet.updateBinaryStream(int, java.io.InputStream, int)
public void updateBinaryStream(int columnIndex,
InputStream x,
int length)
throws SQLException
updateRow or
insertRow methods are called to update the database.
updateBinaryStream in interface ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column valuelength - the length of the stream
SQLException - if a database access error occurs
public void updateBinaryStream(String columnName,
InputStream x,
int length)
throws SQLException
updateRow or
insertRow methods are called to update the database.
updateBinaryStream in interface ResultSetcolumnName - the name of the columnx - the new column valuelength - the length of the stream
SQLException - if a database access error occurs
public void updateBinaryStream(String arg0,
InputStream arg1,
long arg2)
throws SQLException
updateBinaryStream in interface ResultSetSQLExceptionResultSet.updateBinaryStream(int, java.io.InputStream, int)
public void updateBlob(int columnIndex,
Blob x)
throws SQLException
updateBlob in interface ResultSetSQLExceptionResultSet.updateBlob(int, java.sql.Blob)
public void updateBlob(String columnName,
Blob x)
throws SQLException
updateBlob in interface ResultSetSQLExceptionResultSet.updateBlob(int, java.sql.Blob)
public void updateBlob(int arg0,
InputStream arg1)
throws SQLException
updateBlob in interface ResultSetSQLExceptionResultSet.updateBlob(int, java.sql.Blob)
public void updateBlob(String arg0,
InputStream arg1)
throws SQLException
updateBlob in interface ResultSetSQLExceptionResultSet.updateBlob(int, java.sql.Blob)
public void updateBlob(int arg0,
InputStream arg1,
long arg2)
throws SQLException
updateBlob in interface ResultSetSQLExceptionResultSet.updateBlob(int, java.sql.Blob)
public void updateBlob(String arg0,
InputStream arg1,
long arg2)
throws SQLException
updateBlob in interface ResultSetSQLExceptionResultSet.updateBlob(int, java.sql.Blob)
public void updateBoolean(int columnIndex,
boolean x)
throws SQLException
boolean value.
The updater methods are used to update column values in the
current row or the insert row. The updater methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
updateBoolean in interface ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
SQLException - if a database access error occurs
public void updateBoolean(String columnName,
boolean x)
throws SQLException
boolean value.
The updater methods are used to update column values in the
current row or the insert row. The updater methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
updateBoolean in interface ResultSetcolumnName - the name of the columnx - the new column value
SQLException - if a database access error occurs
public void updateByte(int columnIndex,
byte x)
throws SQLException
byte value.
The updater methods are used to update column values in the
current row or the insert row. The updater methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
updateByte in interface ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
SQLException - if a database access error occurs
public void updateByte(String columnName,
byte x)
throws SQLException
byte value.
The updater methods are used to update column values in the
current row or the insert row. The updater methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
updateByte in interface ResultSetcolumnName - the name of the columnx - the new column value
SQLException - if a database access error occurs
public void updateBytes(int columnIndex,
byte[] x)
throws SQLException
updateBytes in interface ResultSetSQLExceptionResultSet.updateBytes(int, byte[])
public void updateBytes(String columnName,
byte[] x)
throws SQLException
updateRow
or insertRow methods are called to update the database.
updateBytes in interface ResultSetcolumnName - the name of the columnx - the new column value
SQLException - if a database access error occurs
public void updateCharacterStream(int columnIndex,
Reader x,
int length)
throws SQLException
updateRow or
insertRow methods are called to update the database.
updateCharacterStream in interface ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column valuelength - the length of the stream
SQLException - if a database access error occurs
public void updateCharacterStream(String columnNameIndex,
Reader x,
int length)
throws SQLException
updateRow or
insertRow methods are called to update the database.
updateCharacterStream in interface ResultSetcolumnNameIndex - index of the columnx - the java.io.Reader object containing
the new column valuelength - the length of the stream
SQLException - if a database access error occurs
public void updateCharacterStream(int arg0,
Reader arg1)
throws SQLException
updateCharacterStream in interface ResultSetSQLExceptionResultSet.updateCharacterStream(int, java.io.Reader, int)
public void updateCharacterStream(String arg0,
Reader arg1)
throws SQLException
updateCharacterStream in interface ResultSetSQLExceptionResultSet.updateCharacterStream(int, java.io.Reader, int)
public void updateCharacterStream(int arg0,
Reader arg1,
long arg2)
throws SQLException
updateCharacterStream in interface ResultSetSQLExceptionResultSet.updateCharacterStream(int, java.io.Reader, int)
public void updateCharacterStream(String arg0,
Reader arg1,
long arg2)
throws SQLException
updateCharacterStream in interface ResultSetSQLExceptionResultSet.updateCharacterStream(int, java.io.Reader, int)
public void updateClob(int columnIndex,
Clob x)
throws SQLException
updateClob in interface ResultSetSQLExceptionResultSet.updateClob(int, java.sql.Clob)
public void updateClob(String columnName,
Clob x)
throws SQLException
updateClob in interface ResultSetSQLExceptionResultSet.updateClob(int, java.sql.Clob)
public void updateClob(int arg0,
Reader arg1)
throws SQLException
updateClob in interface ResultSetSQLExceptionResultSet.updateClob(int, java.sql.Clob)
public void updateClob(String arg0,
Reader arg1)
throws SQLException
updateClob in interface ResultSetSQLExceptionResultSet.updateClob(int, java.sql.Clob)
public void updateClob(int arg0,
Reader arg1,
long arg2)
throws SQLException
updateClob in interface ResultSetSQLExceptionResultSet.updateClob(int, java.sql.Clob)
public void updateClob(String arg0,
Reader arg1,
long arg2)
throws SQLException
updateClob in interface ResultSetSQLExceptionResultSet.updateClob(int, java.sql.Clob)
public void updateDate(int columnIndex,
Date x)
throws SQLException
java.sql.Date value.
The updater methods are used to update column values in the
current row or the insert row. The updater methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
updateDate in interface ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
SQLException - if a database access error occurs
public void updateDate(String columnName,
Date x)
throws SQLException
java.sql.Date value.
The updater methods are used to update column values in the
current row or the insert row. The updater methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
updateDate in interface ResultSetcolumnName - the name of the columnx - the new column value
SQLException - if a database access error occurs
public void updateDouble(int columnIndex,
double x)
throws SQLException
double value.
The updater methods are used to update column values in the
current row or the insert row. The updater methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
updateDouble in interface ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
SQLException - if a database access error occurs
public void updateDouble(String columnName,
double x)
throws SQLException
double value.
The updater methods are used to update column values in the
current row or the insert row. The updater methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
updateDouble in interface ResultSetcolumnName - the name of the columnx - the new column value
SQLException - if a database access error occurs
public void updateFloat(int columnIndex,
float x)
throws SQLException
float value.
The updater methods are used to update column values in the
current row or the insert row. The updater methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
updateFloat in interface ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
SQLException - if a database access error occurs
public void updateFloat(String columnName,
float x)
throws SQLException
float value.
The updater methods are used to update column values in the
current row or the insert row. The updater methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
updateFloat in interface ResultSetcolumnName - the name of the columnx - the new column value
SQLException - if a database access error occurs
public void updateInt(int columnIndex,
int x)
throws SQLException
int value.
The updater methods are used to update column values in the
current row or the insert row. The updater methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
updateInt in interface ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
SQLException - if a database access error occurs
public void updateInt(String columnName,
int x)
throws SQLException
int value.
The updater methods are used to update column values in the
current row or the insert row. The updater methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
updateInt in interface ResultSetcolumnName - the name of the columnx - the new column value
SQLException - if a database access error occurs
public void updateLong(int columnIndex,
long x)
throws SQLException
long value.
The updater methods are used to update column values in the
current row or the insert row. The updater methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
updateLong in interface ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
SQLException - if a database access error occurs
public void updateLong(String columnName,
long x)
throws SQLException
long value.
The updater methods are used to update column values in the
current row or the insert row. The updater methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
updateLong in interface ResultSetcolumnName - the name of the columnx - the new column value
SQLException - if a database access error occurs
public void updateNCharacterStream(int arg0,
Reader arg1)
throws SQLException
updateNCharacterStream in interface ResultSetSQLExceptionResultSet.updateNCharacterStream(int, java.io.Reader, long)
public void updateNCharacterStream(String arg0,
Reader arg1)
throws SQLException
updateNCharacterStream in interface ResultSetSQLExceptionResultSet.updateNCharacterStream(int, java.io.Reader, long)
public void updateNCharacterStream(int arg0,
Reader arg1,
long arg2)
throws SQLException
updateNCharacterStream in interface ResultSetSQLExceptionResultSet.updateNCharacterStream(int, java.io.Reader, long)
public void updateNCharacterStream(String arg0,
Reader arg1,
long arg2)
throws SQLException
updateNCharacterStream in interface ResultSetSQLExceptionResultSet.updateNCharacterStream(int, java.io.Reader, long)
public void updateNClob(int arg0,
NClob arg1)
throws SQLException
updateNClob in interface ResultSetSQLExceptionResultSet.updateNClob(int, java.sql.NClob)
public void updateNClob(String arg0,
NClob arg1)
throws SQLException
updateNClob in interface ResultSetSQLExceptionResultSet.updateNClob(int, java.sql.NClob)
public void updateNClob(int arg0,
Reader arg1)
throws SQLException
updateNClob in interface ResultSetSQLExceptionResultSet.updateNClob(int, java.sql.NClob)
public void updateNClob(String arg0,
Reader arg1)
throws SQLException
updateNClob in interface ResultSetSQLExceptionResultSet.updateNClob(int, java.sql.NClob)
public void updateNClob(int arg0,
Reader arg1,
long arg2)
throws SQLException
updateNClob in interface ResultSetSQLExceptionResultSet.updateNClob(int, java.sql.NClob)
public void updateNClob(String arg0,
Reader arg1,
long arg2)
throws SQLException
updateNClob in interface ResultSetSQLExceptionResultSet.updateNClob(int, java.sql.NClob)
public void updateNString(int arg0,
String arg1)
throws SQLException
updateNString in interface ResultSetSQLExceptionResultSet.updateNString(int, java.lang.String)
public void updateNString(String arg0,
String arg1)
throws SQLException
updateNString in interface ResultSetSQLExceptionResultSet.updateNString(int, java.lang.String)
public void updateNull(int columnIndex)
throws SQLException
updateRow
or insertRow methods are called to update the database.
updateNull in interface ResultSetcolumnIndex - the first column is 1, the second is 2, ...
SQLException - if a database access error occurs
public void updateNull(String columnName)
throws SQLException
null value.
The updater methods are used to update column values in the
current row or the insert row. The updater methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
updateNull in interface ResultSetcolumnName - the name of the column
SQLException - if a database access error occurs
public void updateObject(int columnIndex,
Object x)
throws SQLException
Object value.
The updater methods are used to update column values in the
current row or the insert row. The updater methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
updateObject in interface ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
SQLException - if a database access error occurs
public void updateObject(int columnIndex,
Object x,
int scale)
throws SQLException
updateObject in interface ResultSetSQLExceptionResultSet.updateObject(int, java.lang.Object, int)
public void updateObject(String columnName,
Object x)
throws SQLException
Object value.
The updater methods are used to update column values in the
current row or the insert row. The updater methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
updateObject in interface ResultSetcolumnName - the name of the columnx - the new column value
SQLException - if a database access error occurs
public void updateObject(String columnName,
Object x,
int scale)
throws SQLException
Object value.
The updater methods are used to update column values in the
current row or the insert row. The updater methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
updateObject in interface ResultSetcolumnName - the name of the columnx - the new column valuescale - for java.sql.Types.DECIMAL
or java.sql.Types.NUMERIC types,
this is the number of digits after the decimal point. For all other
types this value will be ignored.
SQLException - if a database access error occurs
public void updateRef(int columnIndex,
Ref x)
throws SQLException
updateRef in interface ResultSetSQLExceptionResultSet.updateRef(int, java.sql.Ref)
public void updateRef(String columnName,
Ref x)
throws SQLException
updateRef in interface ResultSetSQLExceptionResultSet.updateRef(int, java.sql.Ref)
public void updateRow()
throws SQLException
ResultSet object.
This method cannot be called when the cursor is on the insert row.
updateRow in interface ResultSetSQLException - if a database access error occurs or
if this method is called when the cursor is on the insert row
public void updateRowId(int arg0,
RowId arg1)
throws SQLException
updateRowId in interface ResultSetSQLExceptionResultSet.updateRowId(int, java.sql.RowId)
public void updateRowId(String arg0,
RowId arg1)
throws SQLException
updateRowId in interface ResultSetSQLExceptionResultSet.updateRowId(int, java.sql.RowId)
public void updateShort(int columnIndex,
short x)
throws SQLException
updateShort in interface ResultSetSQLExceptionResultSet.updateShort(int, short)
public void updateSQLXML(int arg0,
SQLXML arg1)
throws SQLException
updateSQLXML in interface ResultSetSQLExceptionResultSet.updateSQLXML(int, java.sql.SQLXML)
public void updateSQLXML(String arg0,
SQLXML arg1)
throws SQLException
updateSQLXML in interface ResultSetSQLExceptionResultSet.updateSQLXML(int, java.sql.SQLXML)
public void updateShort(String columnName,
short x)
throws SQLException
short value.
The updater methods are used to update column values in the
current row or the insert row. The updater methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
updateShort in interface ResultSetcolumnName - the name of the columnx - the new column value
SQLException - if a database access error occurs
public void updateString(int columnIndex,
String x)
throws SQLException
String value.
The updater methods are used to update column values in the
current row or the insert row. The updater methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
updateString in interface ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
SQLException - if a database access error occurs
public void updateString(String columnName,
String x)
throws SQLException
String value.
The updater methods are used to update column values in the
current row or the insert row. The updater methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
updateString in interface ResultSetcolumnName - the name of the columnx - the new column value
SQLException - if a database access error occurs
public void updateTime(String columnName,
Time x)
throws SQLException
java.sql.Time value.
The updater methods are used to update column values in the
current row or the insert row. The updater methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
updateTime in interface ResultSetcolumnName - the name of the columnx - the new column value
SQLException - if a database access error occurs
public void updateTime(int columnIndex,
Time x)
throws SQLException
java.sql.Time value.
The updater methods are used to update column values in the
current row or the insert row. The updater methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
updateTime in interface ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
SQLException - if a database access error occurs
public void updateTimestamp(int columnIndex,
Timestamp x)
throws SQLException
java.sql.Timestamp
value.
The updater methods are used to update column values in the
current row or the insert row. The updater methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
updateTimestamp in interface ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
SQLException - if a database access error occurs
public void updateTimestamp(String columnName,
Timestamp x)
throws SQLException
java.sql.Timestamp
value.
The updater methods are used to update column values in the
current row or the insert row. The updater methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
updateTimestamp in interface ResultSetcolumnName - the name of the columnx - the new column value
SQLException - if a database access error occurs
public boolean wasNull()
throws SQLException
wasNull in interface ResultSetSQLExceptionResultSet.wasNull()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||