|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
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 ResultSet
SQLException
ResultSet.absolute(int)
public void afterLast() throws SQLException
afterLast
in interface ResultSet
SQLException
ResultSet.afterLast()
public void beforeFirst() throws SQLException
beforeFirst
in interface ResultSet
SQLException
ResultSet.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 ResultSet
SQLException
- if a database access error
occurs or if this method is called when the cursor is
on the insert rowpublic 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 ResultSet
SQLException
- if a database access error occurspublic abstract void close() throws SQLException
close
in interface ResultSet
SQLException
ResultSet.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 ResultSet
SQLException
- if a database access error occurs
or if this method is called when the cursor is on the insert rowpublic abstract int findColumn(String columnName) throws SQLException
findColumn
in interface ResultSet
SQLException
ResultSet.findColumn(java.lang.String)
public abstract boolean first() throws SQLException
first
in interface ResultSet
SQLException
public Array getArray(int i) throws SQLException
ResultSet
object as an Array
object
in the Java programming language.
getArray
in interface ResultSet
i
- 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 occurspublic Array getArray(String colName) throws SQLException
ResultSet
object as an Array
object
in the Java programming language.
getArray
in interface ResultSet
colName
- 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 occurspublic InputStream getAsciiStream(int columnIndex) throws SQLException
getAsciiStream
in interface ResultSet
SQLException
ResultSet.getAsciiStream(int)
public InputStream getAsciiStream(String columnName) throws SQLException
getAsciiStream
in interface ResultSet
SQLException
ResultSet.getAsciiStream(int)
public BigDecimal getBigDecimal(int columnIndex) throws SQLException
getBigDecimal
in interface ResultSet
SQLException
ResultSet.getBigDecimal(int, int)
public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException
getBigDecimal
in interface ResultSet
SQLException
ResultSet.getBigDecimal(int, int)
public BigDecimal getBigDecimal(String columnName) throws SQLException
getBigDecimal
in interface ResultSet
SQLException
ResultSet.getBigDecimal(int, int)
public BigDecimal getBigDecimal(String columnName, int scale) throws SQLException
getBigDecimal
in interface ResultSet
SQLException
ResultSet.getBigDecimal(int, int)
public InputStream getBinaryStream(int columnIndex) throws SQLException
getBinaryStream
in interface ResultSet
SQLException
ResultSet.getBinaryStream(int)
public InputStream getBinaryStream(String columnName) throws SQLException
getBinaryStream
in interface ResultSet
SQLException
ResultSet.getBinaryStream(int)
public Blob getBlob(int i) throws SQLException
ResultSet
object as a Blob
object
in the Java programming language.
getBlob
in interface ResultSet
i
- 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 occurspublic Blob getBlob(String colName) throws SQLException
ResultSet
object as a Blob
object
in the Java programming language.
getBlob
in interface ResultSet
colName
- 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 occurspublic abstract boolean getBoolean(int columnIndex) throws SQLException
getBoolean
in interface ResultSet
SQLException
ResultSet.getBoolean(int)
public abstract boolean getBoolean(String columnName) throws SQLException
getBoolean
in interface ResultSet
SQLException
ResultSet.getBoolean(int)
public byte getByte(int columnIndex) throws SQLException
getByte
in interface ResultSet
SQLException
ResultSet.getByte(int)
public byte getByte(String columnName) throws SQLException
getByte
in interface ResultSet
SQLException
ResultSet.getByte(int)
public byte[] getBytes(int columnIndex) throws SQLException
getBytes
in interface ResultSet
SQLException
ResultSet.getBytes(int)
public byte[] getBytes(String columnName) throws SQLException
getBytes
in interface ResultSet
SQLException
ResultSet.getBytes(int)
public Reader getCharacterStream(int columnIndex) throws SQLException
getCharacterStream
in interface ResultSet
SQLException
ResultSet.getCharacterStream(int)
public Reader getCharacterStream(String columnName) throws SQLException
getCharacterStream
in interface ResultSet
SQLException
ResultSet.getCharacterStream(int)
public Clob getClob(int i) throws SQLException
ResultSet
object as a Clob
object
in the Java programming language.
getClob
in interface ResultSet
i
- 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 occurspublic Clob getClob(String colName) throws SQLException
ResultSet
object as a Clob
object
in the Java programming language.
getClob
in interface ResultSet
colName
- 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 occurspublic int getConcurrency() throws SQLException
getConcurrency
in interface ResultSet
SQLException
ResultSet.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 ResultSet
ResultSet
object's cursor
SQLException
- if a database access error occurspublic abstract Date getDate(int columnIndex) throws SQLException
getDate
in interface ResultSet
SQLException
ResultSet.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 ResultSet
columnIndex
- 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 occurspublic abstract Date getDate(String columnName) throws SQLException
getDate
in interface ResultSet
SQLException
ResultSet.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 ResultSet
columnName
- 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 occurspublic abstract double getDouble(int columnIndex) throws SQLException
getDouble
in interface ResultSet
SQLException
ResultSet.getDouble(int)
public abstract double getDouble(String columnName) throws SQLException
getDouble
in interface ResultSet
SQLException
ResultSet.getDouble(int)
public int getFetchDirection() throws SQLException
getFetchDirection
in interface ResultSet
SQLException
ResultSet.getFetchDirection()
public int getFetchSize() throws SQLException
ResultSet
object.
getFetchSize
in interface ResultSet
ResultSet
object
SQLException
- if a database access error occurssetFetchSize(int)
public abstract float getFloat(int columnIndex) throws SQLException
getFloat
in interface ResultSet
SQLException
ResultSet.getFloat(int)
public abstract float getFloat(String columnName) throws SQLException
getFloat
in interface ResultSet
SQLException
ResultSet.getFloat(int)
public int getHoldability() throws SQLException
getHoldability
in interface ResultSet
SQLException
ResultSet.getHoldability()
public abstract int getInt(int columnIndex) throws SQLException
getInt
in interface ResultSet
SQLException
ResultSet.getInt(int)
public abstract int getInt(String columnName) throws SQLException
getInt
in interface ResultSet
SQLException
ResultSet.getInt(int)
public abstract long getLong(int columnIndex) throws SQLException
getLong
in interface ResultSet
SQLException
ResultSet.getLong(int)
public abstract long getLong(String columnName) throws SQLException
getLong
in interface ResultSet
SQLException
ResultSet.getLong(int)
public abstract ResultSetMetaData getMetaData() throws SQLException
ResultSet
object's columns.
getMetaData
in interface ResultSet
ResultSet
object's columns
SQLException
- if a database access error occurspublic Reader getNCharacterStream(int arg0) throws SQLException
getNCharacterStream
in interface ResultSet
SQLException
ResultSet.getNCharacterStream(int)
public Reader getNCharacterStream(String arg0) throws SQLException
getNCharacterStream
in interface ResultSet
SQLException
ResultSet.getNCharacterStream(int)
public NClob getNClob(int arg0) throws SQLException
getNClob
in interface ResultSet
SQLException
ResultSet.getNClob(int)
public NClob getNClob(String arg0) throws SQLException
getNClob
in interface ResultSet
SQLException
ResultSet.getNClob(int)
public String getNString(int arg0) throws SQLException
getNString
in interface ResultSet
SQLException
ResultSet.getNString(int)
public String getNString(String arg0) throws SQLException
getNString
in interface ResultSet
SQLException
ResultSet.getNString(int)
public abstract Object getObject(int columnIndex) throws SQLException
getObject
in interface ResultSet
SQLException
ResultSet.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 ResultSet
i
- 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 occurspublic abstract Object getObject(String columnName) throws SQLException
getObject
in interface ResultSet
SQLException
ResultSet.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 ResultSet
colName
- 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 occurspublic Ref getRef(int i) throws SQLException
ResultSet
object as a Ref
object
in the Java programming language.
getRef
in interface ResultSet
i
- the first column is 1, the second is 2, ...
Ref
object representing an SQL REF
value
SQLException
- if a database access error occurspublic Ref getRef(String colName) throws SQLException
ResultSet
object as a Ref
object
in the Java programming language.
getRef
in interface ResultSet
colName
- the column name
Ref
object representing the SQL REF
value in the specified column
SQLException
- if a database access error occurspublic abstract int getRow() throws SQLException
getRow
in interface ResultSet
SQLException
ResultSet.getRow()
public RowId getRowId(int arg0) throws SQLException
getRowId
in interface ResultSet
SQLException
ResultSet.getRowId(int)
public RowId getRowId(String arg0) throws SQLException
getRowId
in interface ResultSet
SQLException
ResultSet.getRowId(int)
public abstract short getShort(int columnIndex) throws SQLException
getShort
in interface ResultSet
SQLException
ResultSet.getShort(int)
public abstract short getShort(String columnName) throws SQLException
getShort
in interface ResultSet
SQLException
ResultSet.getShort(int)
public SQLXML getSQLXML(int arg0) throws SQLException
getSQLXML
in interface ResultSet
SQLException
ResultSet.getSQLXML(int)
public SQLXML getSQLXML(String arg0) throws SQLException
getSQLXML
in interface ResultSet
SQLException
ResultSet.getSQLXML(int)
public abstract Statement getStatement() throws SQLException
getStatement
in interface ResultSet
SQLException
ResultSet.getStatement()
public abstract String getString(int columnIndex) throws SQLException
getString
in interface ResultSet
SQLException
ResultSet.getString(int)
public abstract String getString(String columnName) throws SQLException
getString
in interface ResultSet
SQLException
ResultSet.getString(int)
public abstract Time getTime(int columnIndex) throws SQLException
getTime
in interface ResultSet
SQLException
ResultSet.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 ResultSet
columnIndex
- 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 occurspublic abstract Time getTime(String columnName) throws SQLException
getTime
in interface ResultSet
SQLException
ResultSet.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 ResultSet
columnName
- 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 occurspublic Timestamp getTimestamp(int columnIndex) throws SQLException
getTimestamp
in interface ResultSet
SQLException
ResultSet.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 ResultSet
columnIndex
- 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 occurspublic Timestamp getTimestamp(String columnName) throws SQLException
getTimestamp
in interface ResultSet
SQLException
ResultSet.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 ResultSet
columnName
- 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 occurspublic abstract int getType() throws SQLException
getType
in interface ResultSet
SQLException
ResultSet.getType()
public InputStream getUnicodeStream(int columnIndex) throws SQLException
getUnicodeStream
in interface ResultSet
SQLException
ResultSet.getUnicodeStream(int)
public InputStream getUnicodeStream(String columnName) throws SQLException
getUnicodeStream
in interface ResultSet
SQLException
ResultSet.getUnicodeStream(int)
public URL getURL(int columnIndex) throws SQLException
getURL
in interface ResultSet
SQLException
ResultSet.getURL(int)
public URL getURL(String columnName) throws SQLException
getURL
in interface ResultSet
SQLException
ResultSet.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 ResultSet
SQLWarning
object reported or
null
if there are none
SQLException
- if a database access error occurs or this method
is called on a closed result setpublic 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 ResultSet
SQLException
- 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 valuepublic boolean isAfterLast() throws SQLException
isAfterLast
in interface ResultSet
SQLException
ResultSet.isAfterLast()
public boolean isBeforeFirst() throws SQLException
isBeforeFirst
in interface ResultSet
SQLException
ResultSet.isBeforeFirst()
public abstract boolean isClosed() throws SQLException
isClosed
in interface ResultSet
SQLException
ResultSet.isClosed()
public abstract boolean isFirst() throws SQLException
isFirst
in interface ResultSet
SQLException
ResultSet.isFirst()
public abstract boolean isLast() throws SQLException
isLast
in interface ResultSet
SQLException
ResultSet.isLast()
public boolean isWrapperFor(Class arg0) throws SQLException
isWrapperFor
in interface Wrapper
SQLException
Wrapper.isWrapperFor(java.lang.Class)
public abstract boolean last() throws SQLException
last
in interface ResultSet
SQLException
ResultSet.last()
public void moveToCurrentRow() throws SQLException
moveToCurrentRow
in interface ResultSet
SQLException
- if a database access error occurs
or the result set is not updatablepublic 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 ResultSet
SQLException
- if a database access error occurs
or the result set is not updatablepublic abstract boolean next() throws SQLException
next
in interface ResultSet
SQLException
ResultSet.next()
public abstract boolean previous() throws SQLException
previous
in interface ResultSet
SQLException
ResultSet.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 ResultSet
SQLException
- if a database access error
occurs or if this method is called when the cursor is on the insert rowpublic boolean relative(int rows) throws SQLException
relative
in interface ResultSet
SQLException
ResultSet.relative(int)
public boolean rowDeleted() throws SQLException
ResultSet
object can detect deletions.
rowDeleted
in interface ResultSet
true
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 ResultSet
true
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 ResultSet
true
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 ResultSet
direction
- 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 ResultSet
rows
- the number of rows to fetch
SQLException
- if a database access error occurs or the
condition 0 <= rows <= this.getMaxRows()
is not satisfiedpublic Object unwrap(Class arg0) throws SQLException
unwrap
in interface Wrapper
SQLException
Wrapper.unwrap(java.lang.Class)
public void updateArray(int columnIndex, Array x) throws SQLException
updateArray
in interface ResultSet
SQLException
ResultSet.updateArray(int, java.sql.Array)
public void updateArray(String columnName, Array x) throws SQLException
updateArray
in interface ResultSet
SQLException
ResultSet.updateArray(int, java.sql.Array)
public void updateAsciiStream(int arg0, InputStream arg1) throws SQLException
updateAsciiStream
in interface ResultSet
SQLException
ResultSet.updateAsciiStream(int, java.io.InputStream, int)
public void updateAsciiStream(String arg0, InputStream arg1) throws SQLException
updateAsciiStream
in interface ResultSet
SQLException
ResultSet.updateAsciiStream(int, java.io.InputStream, int)
public void updateAsciiStream(int arg0, InputStream arg1, long arg2) throws SQLException
updateAsciiStream
in interface ResultSet
SQLException
ResultSet.updateAsciiStream(int, java.io.InputStream, int)
public void updateAsciiStream(String arg0, InputStream arg1, long arg2) throws SQLException
updateAsciiStream
in interface ResultSet
SQLException
ResultSet.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 ResultSet
columnIndex
- 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 occurspublic void updateAsciiStream(String columnName, InputStream x, int length) throws SQLException
updateRow
or
insertRow
methods are called to update the database.
updateAsciiStream
in interface ResultSet
columnName
- the name of the columnx
- the new column valuelength
- the length of the stream
SQLException
- if a database access error occurspublic 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 ResultSet
columnIndex
- the first column is 1, the second is 2, ...x
- the new column value
SQLException
- if a database access error occurspublic 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 ResultSet
columnName
- the name of the columnx
- the new column value
SQLException
- if a database access error occurspublic void updateBinaryStream(int arg0, InputStream arg1) throws SQLException
updateBinaryStream
in interface ResultSet
SQLException
ResultSet.updateBinaryStream(int, java.io.InputStream, int)
public void updateBinaryStream(String arg0, InputStream arg1) throws SQLException
updateBinaryStream
in interface ResultSet
SQLException
ResultSet.updateBinaryStream(int, java.io.InputStream, int)
public void updateBinaryStream(int arg0, InputStream arg1, long arg2) throws SQLException
updateBinaryStream
in interface ResultSet
SQLException
ResultSet.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 ResultSet
columnIndex
- 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 occurspublic void updateBinaryStream(String columnName, InputStream x, int length) throws SQLException
updateRow
or
insertRow
methods are called to update the database.
updateBinaryStream
in interface ResultSet
columnName
- the name of the columnx
- the new column valuelength
- the length of the stream
SQLException
- if a database access error occurspublic void updateBinaryStream(String arg0, InputStream arg1, long arg2) throws SQLException
updateBinaryStream
in interface ResultSet
SQLException
ResultSet.updateBinaryStream(int, java.io.InputStream, int)
public void updateBlob(int columnIndex, Blob x) throws SQLException
updateBlob
in interface ResultSet
SQLException
ResultSet.updateBlob(int, java.sql.Blob)
public void updateBlob(String columnName, Blob x) throws SQLException
updateBlob
in interface ResultSet
SQLException
ResultSet.updateBlob(int, java.sql.Blob)
public void updateBlob(int arg0, InputStream arg1) throws SQLException
updateBlob
in interface ResultSet
SQLException
ResultSet.updateBlob(int, java.sql.Blob)
public void updateBlob(String arg0, InputStream arg1) throws SQLException
updateBlob
in interface ResultSet
SQLException
ResultSet.updateBlob(int, java.sql.Blob)
public void updateBlob(int arg0, InputStream arg1, long arg2) throws SQLException
updateBlob
in interface ResultSet
SQLException
ResultSet.updateBlob(int, java.sql.Blob)
public void updateBlob(String arg0, InputStream arg1, long arg2) throws SQLException
updateBlob
in interface ResultSet
SQLException
ResultSet.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 ResultSet
columnIndex
- the first column is 1, the second is 2, ...x
- the new column value
SQLException
- if a database access error occurspublic 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 ResultSet
columnName
- the name of the columnx
- the new column value
SQLException
- if a database access error occurspublic 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 ResultSet
columnIndex
- the first column is 1, the second is 2, ...x
- the new column value
SQLException
- if a database access error occurspublic 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 ResultSet
columnName
- the name of the columnx
- the new column value
SQLException
- if a database access error occurspublic void updateBytes(int columnIndex, byte[] x) throws SQLException
updateBytes
in interface ResultSet
SQLException
ResultSet.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 ResultSet
columnName
- the name of the columnx
- the new column value
SQLException
- if a database access error occurspublic void updateCharacterStream(int columnIndex, Reader x, int length) throws SQLException
updateRow
or
insertRow
methods are called to update the database.
updateCharacterStream
in interface ResultSet
columnIndex
- 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 occurspublic void updateCharacterStream(String columnNameIndex, Reader x, int length) throws SQLException
updateRow
or
insertRow
methods are called to update the database.
updateCharacterStream
in interface ResultSet
columnNameIndex
- 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 occurspublic void updateCharacterStream(int arg0, Reader arg1) throws SQLException
updateCharacterStream
in interface ResultSet
SQLException
ResultSet.updateCharacterStream(int, java.io.Reader, int)
public void updateCharacterStream(String arg0, Reader arg1) throws SQLException
updateCharacterStream
in interface ResultSet
SQLException
ResultSet.updateCharacterStream(int, java.io.Reader, int)
public void updateCharacterStream(int arg0, Reader arg1, long arg2) throws SQLException
updateCharacterStream
in interface ResultSet
SQLException
ResultSet.updateCharacterStream(int, java.io.Reader, int)
public void updateCharacterStream(String arg0, Reader arg1, long arg2) throws SQLException
updateCharacterStream
in interface ResultSet
SQLException
ResultSet.updateCharacterStream(int, java.io.Reader, int)
public void updateClob(int columnIndex, Clob x) throws SQLException
updateClob
in interface ResultSet
SQLException
ResultSet.updateClob(int, java.sql.Clob)
public void updateClob(String columnName, Clob x) throws SQLException
updateClob
in interface ResultSet
SQLException
ResultSet.updateClob(int, java.sql.Clob)
public void updateClob(int arg0, Reader arg1) throws SQLException
updateClob
in interface ResultSet
SQLException
ResultSet.updateClob(int, java.sql.Clob)
public void updateClob(String arg0, Reader arg1) throws SQLException
updateClob
in interface ResultSet
SQLException
ResultSet.updateClob(int, java.sql.Clob)
public void updateClob(int arg0, Reader arg1, long arg2) throws SQLException
updateClob
in interface ResultSet
SQLException
ResultSet.updateClob(int, java.sql.Clob)
public void updateClob(String arg0, Reader arg1, long arg2) throws SQLException
updateClob
in interface ResultSet
SQLException
ResultSet.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 ResultSet
columnIndex
- the first column is 1, the second is 2, ...x
- the new column value
SQLException
- if a database access error occurspublic 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 ResultSet
columnName
- the name of the columnx
- the new column value
SQLException
- if a database access error occurspublic 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 ResultSet
columnIndex
- the first column is 1, the second is 2, ...x
- the new column value
SQLException
- if a database access error occurspublic 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 ResultSet
columnName
- the name of the columnx
- the new column value
SQLException
- if a database access error occurspublic 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 ResultSet
columnIndex
- the first column is 1, the second is 2, ...x
- the new column value
SQLException
- if a database access error occurspublic 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 ResultSet
columnName
- the name of the columnx
- the new column value
SQLException
- if a database access error occurspublic 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 ResultSet
columnIndex
- the first column is 1, the second is 2, ...x
- the new column value
SQLException
- if a database access error occurspublic 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 ResultSet
columnName
- the name of the columnx
- the new column value
SQLException
- if a database access error occurspublic 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 ResultSet
columnIndex
- the first column is 1, the second is 2, ...x
- the new column value
SQLException
- if a database access error occurspublic 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 ResultSet
columnName
- the name of the columnx
- the new column value
SQLException
- if a database access error occurspublic void updateNCharacterStream(int arg0, Reader arg1) throws SQLException
updateNCharacterStream
in interface ResultSet
SQLException
ResultSet.updateNCharacterStream(int, java.io.Reader, long)
public void updateNCharacterStream(String arg0, Reader arg1) throws SQLException
updateNCharacterStream
in interface ResultSet
SQLException
ResultSet.updateNCharacterStream(int, java.io.Reader, long)
public void updateNCharacterStream(int arg0, Reader arg1, long arg2) throws SQLException
updateNCharacterStream
in interface ResultSet
SQLException
ResultSet.updateNCharacterStream(int, java.io.Reader, long)
public void updateNCharacterStream(String arg0, Reader arg1, long arg2) throws SQLException
updateNCharacterStream
in interface ResultSet
SQLException
ResultSet.updateNCharacterStream(int, java.io.Reader, long)
public void updateNClob(int arg0, NClob arg1) throws SQLException
updateNClob
in interface ResultSet
SQLException
ResultSet.updateNClob(int, java.sql.NClob)
public void updateNClob(String arg0, NClob arg1) throws SQLException
updateNClob
in interface ResultSet
SQLException
ResultSet.updateNClob(int, java.sql.NClob)
public void updateNClob(int arg0, Reader arg1) throws SQLException
updateNClob
in interface ResultSet
SQLException
ResultSet.updateNClob(int, java.sql.NClob)
public void updateNClob(String arg0, Reader arg1) throws SQLException
updateNClob
in interface ResultSet
SQLException
ResultSet.updateNClob(int, java.sql.NClob)
public void updateNClob(int arg0, Reader arg1, long arg2) throws SQLException
updateNClob
in interface ResultSet
SQLException
ResultSet.updateNClob(int, java.sql.NClob)
public void updateNClob(String arg0, Reader arg1, long arg2) throws SQLException
updateNClob
in interface ResultSet
SQLException
ResultSet.updateNClob(int, java.sql.NClob)
public void updateNString(int arg0, String arg1) throws SQLException
updateNString
in interface ResultSet
SQLException
ResultSet.updateNString(int, java.lang.String)
public void updateNString(String arg0, String arg1) throws SQLException
updateNString
in interface ResultSet
SQLException
ResultSet.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 ResultSet
columnIndex
- the first column is 1, the second is 2, ...
SQLException
- if a database access error occurspublic 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 ResultSet
columnName
- the name of the column
SQLException
- if a database access error occurspublic 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 ResultSet
columnIndex
- the first column is 1, the second is 2, ...x
- the new column value
SQLException
- if a database access error occurspublic void updateObject(int columnIndex, Object x, int scale) throws SQLException
updateObject
in interface ResultSet
SQLException
ResultSet.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 ResultSet
columnName
- the name of the columnx
- the new column value
SQLException
- if a database access error occurspublic 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 ResultSet
columnName
- 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 occurspublic void updateRef(int columnIndex, Ref x) throws SQLException
updateRef
in interface ResultSet
SQLException
ResultSet.updateRef(int, java.sql.Ref)
public void updateRef(String columnName, Ref x) throws SQLException
updateRef
in interface ResultSet
SQLException
ResultSet.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 ResultSet
SQLException
- if a database access error occurs or
if this method is called when the cursor is on the insert rowpublic void updateRowId(int arg0, RowId arg1) throws SQLException
updateRowId
in interface ResultSet
SQLException
ResultSet.updateRowId(int, java.sql.RowId)
public void updateRowId(String arg0, RowId arg1) throws SQLException
updateRowId
in interface ResultSet
SQLException
ResultSet.updateRowId(int, java.sql.RowId)
public void updateShort(int columnIndex, short x) throws SQLException
updateShort
in interface ResultSet
SQLException
ResultSet.updateShort(int, short)
public void updateSQLXML(int arg0, SQLXML arg1) throws SQLException
updateSQLXML
in interface ResultSet
SQLException
ResultSet.updateSQLXML(int, java.sql.SQLXML)
public void updateSQLXML(String arg0, SQLXML arg1) throws SQLException
updateSQLXML
in interface ResultSet
SQLException
ResultSet.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 ResultSet
columnName
- the name of the columnx
- the new column value
SQLException
- if a database access error occurspublic 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 ResultSet
columnIndex
- the first column is 1, the second is 2, ...x
- the new column value
SQLException
- if a database access error occurspublic 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 ResultSet
columnName
- the name of the columnx
- the new column value
SQLException
- if a database access error occurspublic 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 ResultSet
columnName
- the name of the columnx
- the new column value
SQLException
- if a database access error occurspublic 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 ResultSet
columnIndex
- the first column is 1, the second is 2, ...x
- the new column value
SQLException
- if a database access error occurspublic 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 ResultSet
columnIndex
- the first column is 1, the second is 2, ...x
- the new column value
SQLException
- if a database access error occurspublic 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 ResultSet
columnName
- the name of the columnx
- the new column value
SQLException
- if a database access error occurspublic boolean wasNull() throws SQLException
wasNull
in interface ResultSet
SQLException
ResultSet.wasNull()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |