Methods Summary |
---|
public int | getHoldability()Retrieves the holdability of this ResultSet object
return resultSet.getHoldability();
|
public java.io.Reader | getNCharacterStream(int columnIndex)Retrieves the value of the designated column in the current row
of this ResultSet object as a
java.io.Reader object.
It is intended for use when
accessing NCHAR ,NVARCHAR
and LONGNVARCHAR columns.
return resultSet.getNCharacterStream(columnIndex);
|
public java.io.Reader | getNCharacterStream(java.lang.String columnLabel)Retrieves the value of the designated column in the current row
of this ResultSet object as a
java.io.Reader object.
It is intended for use when
accessing NCHAR ,NVARCHAR
and LONGNVARCHAR columns.
return resultSet.getNCharacterStream(columnLabel);
|
public java.sql.NClob | getNClob(int columnIndex)Retrieves the value of the designated column in the current row
of this ResultSet object as a NClob object
in the Java programming language.
return resultSet.getNClob(columnIndex);
|
public java.sql.NClob | getNClob(java.lang.String columnLabel)Retrieves the value of the designated column in the current row
of this ResultSet object as a NClob object
in the Java programming language.
return resultSet.getNClob(columnLabel);
|
public java.lang.String | getNString(int columnIndex)Retrieves the value of the designated column in the current row
of this ResultSet object as
a String in the Java programming language.
It is intended for use when
accessing NCHAR ,NVARCHAR
and LONGNVARCHAR columns.
return resultSet.getNString(columnIndex);
|
public java.lang.String | getNString(java.lang.String columnLabel)Retrieves the value of the designated column in the current row
of this ResultSet object as
a String in the Java programming language.
It is intended for use when
accessing NCHAR ,NVARCHAR
and LONGNVARCHAR columns.
return resultSet.getNString(columnLabel);
|
public java.sql.RowId | getRowId(int columnIndex)Retrieves the value of the designated column in the current row of this
ResultSet object as a java.sql.RowId object in the Java
programming language.
return resultSet.getRowId(columnIndex);
|
public java.sql.RowId | getRowId(java.lang.String columnLabel)Retrieves the value of the designated column in the current row of this
ResultSet object as a java.sql.RowId object in the Java
programming language.
return resultSet.getRowId(columnLabel);
|
public java.sql.SQLXML | getSQLXML(int columnIndex)Retrieves the value of the designated column in the current row of
this ResultSet as a
java.sql.SQLXML object in the Java programming language.
return resultSet.getSQLXML(columnIndex);
|
public java.sql.SQLXML | getSQLXML(java.lang.String columnLabel)Retrieves the value of the designated column in the current row of
this ResultSet as a
java.sql.SQLXML object in the Java programming language.
return resultSet.getSQLXML(columnLabel);
|
public boolean | isClosed()Retrieves whether this ResultSet object has been closed. A ResultSet is closed if the
method close has been called on it, or if it is automatically closed.
return resultSet.isClosed();
|
public boolean | isWrapperFor(java.lang.Class iface)Returns true if this either implements the interface argument or is directly or indirectly a wrapper
for an object that does. Returns false otherwise. If this implements the interface then return true,
else if this is a wrapper then return the result of recursively calling isWrapperFor on the wrapped
object. If this does not implement the interface and is not a wrapper, return false.
This method should be implemented as a low-cost operation compared to unwrap so that
callers can use this method to avoid expensive unwrap calls that may fail. If this method
returns true then calling unwrap with the same argument should succeed.
boolean result ;
if (iface.isInstance(this)) {
result = true;
}else{
result = resultSet.isWrapperFor(iface);
}
return result;
|
public T | unwrap(java.lang.Class iface)Returns an object that implements the given interface to allow access to
non-standard methods, or standard methods not exposed by the proxy.
If the receiver implements the interface then the result is the receiver
or a proxy for the receiver. If the receiver is a wrapper
and the wrapped object implements the interface then the result is the
wrapped object or a proxy for the wrapped object. Otherwise return the
the result of calling unwrap recursively on the wrapped object
or a proxy for that result. If the receiver is not a
wrapper and does not implement the interface, then an SQLException is thrown.
T result ;
if (iface.isInstance(this)) {
result = iface.cast(this);
} else {
result = resultSet.unwrap(iface);
}
return result;
|
public void | updateAsciiStream(int columnIndex, java.io.InputStream x, long length)Updates the designated column with an ascii stream value, which will have
the specified number of bytes.
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.
resultSet.updateAsciiStream(columnIndex, x, length);
|
public void | updateAsciiStream(java.lang.String columnLabel, java.io.InputStream x, long length)Updates the designated column with an ascii stream value, which will have
the specified number of bytes.
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.
resultSet.updateAsciiStream(columnLabel, x, length);
|
public void | updateAsciiStream(int columnIndex, java.io.InputStream x)Updates the designated column with an ascii stream value.
The data will be read from the stream
as needed until end-of-stream is reached.
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.
Note: Consult your JDBC driver documentation to determine if
it might be more efficient to use a version of
updateAsciiStream which takes a length parameter.
resultSet.updateAsciiStream(columnIndex, x);
|
public void | updateAsciiStream(java.lang.String columnLabel, java.io.InputStream x)Updates the designated column with an ascii stream value.
The data will be read from the stream
as needed until end-of-stream is reached.
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.
Note: Consult your JDBC driver documentation to determine if
it might be more efficient to use a version of
updateAsciiStream which takes a length parameter.
resultSet.updateAsciiStream(columnLabel, x);
|
public void | updateBinaryStream(int columnIndex, java.io.InputStream x, long length)Updates the designated column with a binary stream value, which will have
the specified number of bytes.
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.
resultSet.updateBinaryStream(columnIndex, x, length);
|
public void | updateBinaryStream(java.lang.String columnLabel, java.io.InputStream x, long length)Updates the designated column with a binary stream value, which will have
the specified number of bytes.
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.
resultSet.updateBinaryStream(columnLabel, x, length);
|
public void | updateBinaryStream(int columnIndex, java.io.InputStream x)Updates the designated column with a binary stream value.
The data will be read from the stream
as needed until end-of-stream is reached.
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.
Note: Consult your JDBC driver documentation to determine if
it might be more efficient to use a version of
updateBinaryStream which takes a length parameter.
resultSet.updateBinaryStream(columnIndex, x);
|
public void | updateBinaryStream(java.lang.String columnLabel, java.io.InputStream x)Updates the designated column with a binary stream value.
The data will be read from the stream
as needed until end-of-stream is reached.
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.
Note: Consult your JDBC driver documentation to determine if
it might be more efficient to use a version of
updateBinaryStream which takes a length parameter.
resultSet.updateBinaryStream(columnLabel, x);
|
public void | updateBlob(int columnIndex, java.io.InputStream inputStream, long length)Updates the designated column using the given input stream, which
will have the specified number of bytes.
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.
resultSet.updateBlob(columnIndex, inputStream, length);
|
public void | updateBlob(java.lang.String columnLabel, java.io.InputStream inputStream, long length)Updates the designated column using the given input stream, which
will have the specified number of bytes.
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.
resultSet.updateBlob(columnLabel, inputStream, length);
|
public void | updateBlob(int columnIndex, java.io.InputStream inputStream)Updates the designated column using the given input stream. The data will be read from the stream
as needed until end-of-stream is reached.
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.
Note: Consult your JDBC driver documentation to determine if
it might be more efficient to use a version of
updateBlob which takes a length parameter.
resultSet.updateBlob(columnIndex, inputStream);
|
public void | updateBlob(java.lang.String columnLabel, java.io.InputStream inputStream)Updates the designated column using the given input stream. The data will be read from the stream
as needed until end-of-stream is reached.
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.
Note: Consult your JDBC driver documentation to determine if
it might be more efficient to use a version of
updateBlob which takes a length parameter.
resultSet.updateBlob(columnLabel, inputStream);
|
public void | updateCharacterStream(int columnIndex, java.io.Reader x, long length)Updates the designated column with a character stream value, which will have
the specified number of bytes.
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.
resultSet.updateCharacterStream(columnIndex, x, length);
|
public void | updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length)Updates the designated column with a character stream value, which will have
the specified number of bytes.
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.
resultSet.updateCharacterStream(columnLabel, reader, length);
|
public void | updateCharacterStream(int columnIndex, java.io.Reader x)Updates the designated column with a character stream value.
The data will be read from the stream
as needed until end-of-stream is reached.
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.
Note: Consult your JDBC driver documentation to determine if
it might be more efficient to use a version of
updateCharacterStream which takes a length parameter.
resultSet.updateCharacterStream(columnIndex, x);
|
public void | updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader)Updates the designated column with a character stream value.
The data will be read from the stream
as needed until end-of-stream is reached.
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.
Note: Consult your JDBC driver documentation to determine if
it might be more efficient to use a version of
updateCharacterStream which takes a length parameter.
resultSet.updateCharacterStream(columnLabel, reader);
|
public void | updateClob(int columnIndex, java.io.Reader reader, long length)Updates the designated column using the given Reader
object, which is the given number of characters long.
When a very large UNICODE value is input to a LONGVARCHAR
parameter, it may be more practical to send it via a
java.io.Reader object. The JDBC driver will
do any necessary conversion from UNICODE to the database char format.
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.
resultSet.updateClob(columnIndex, reader, length);
|
public void | updateClob(java.lang.String columnLabel, java.io.Reader reader, long length)Updates the designated column using the given Reader
object, which is the given number of characters long.
When a very large UNICODE value is input to a LONGVARCHAR
parameter, it may be more practical to send it via a
java.io.Reader object. The JDBC driver will
do any necessary conversion from UNICODE to the database char format.
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.
resultSet.updateClob(columnLabel, reader, length);
|
public void | updateClob(int columnIndex, java.io.Reader reader)Updates the designated column using the given Reader
object.
The data will be read from the stream
as needed until end-of-stream is reached. The JDBC driver will
do any necessary conversion from UNICODE to the database char format.
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.
Note: Consult your JDBC driver documentation to determine if
it might be more efficient to use a version of
updateClob which takes a length parameter.
resultSet.updateClob(columnIndex, reader);
|
public void | updateClob(java.lang.String columnLabel, java.io.Reader reader)Updates the designated column using the given Reader
object.
The data will be read from the stream
as needed until end-of-stream is reached. The JDBC driver will
do any necessary conversion from UNICODE to the database char format.
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.
Note: Consult your JDBC driver documentation to determine if
it might be more efficient to use a version of
updateClob which takes a length parameter.
resultSet.updateClob(columnLabel, reader);
|
public void | updateNCharacterStream(int columnIndex, java.io.Reader x, long length)Updates the designated column with a character stream value, which will have
the specified number of bytes. The
driver does the necessary conversion from Java character format to
the national character set in the database.
It is intended for use when
updating NCHAR ,NVARCHAR
and LONGNVARCHAR columns.
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.
resultSet.updateNCharacterStream(columnIndex, x, length);
|
public void | updateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length)Updates the designated column with a character stream value, which will have
the specified number of bytes. The
driver does the necessary conversion from Java character format to
the national character set in the database.
It is intended for use when
updating NCHAR ,NVARCHAR
and LONGNVARCHAR columns.
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.
resultSet.updateNCharacterStream(columnLabel, reader, length);
|
public void | updateNCharacterStream(int columnIndex, java.io.Reader x)Updates the designated column with a character stream value.
The data will be read from the stream
as needed until end-of-stream is reached. The
driver does the necessary conversion from Java character format to
the national character set in the database.
It is intended for use when
updating NCHAR ,NVARCHAR
and LONGNVARCHAR columns.
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.
Note: Consult your JDBC driver documentation to determine if
it might be more efficient to use a version of
updateNCharacterStream which takes a length parameter.
resultSet.updateNCharacterStream(columnIndex, x);
|
public void | updateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader)Updates the designated column with a character stream value.
The data will be read from the stream
as needed until end-of-stream is reached. The
driver does the necessary conversion from Java character format to
the national character set in the database.
It is intended for use when
updating NCHAR ,NVARCHAR
and LONGNVARCHAR columns.
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.
Note: Consult your JDBC driver documentation to determine if
it might be more efficient to use a version of
updateNCharacterStream which takes a length parameter.
resultSet.updateNCharacterStream(columnLabel, reader);
|
public void | updateNClob(int columnIndex, java.sql.NClob nClob)Updates the designated column with a java.sql.NClob 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.
resultSet.updateNClob(columnIndex, nClob);
|
public void | updateNClob(java.lang.String columnLabel, java.sql.NClob nClob)Updates the designated column with a java.sql.NClob 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.
resultSet.updateNClob(columnLabel, nClob);
|
public void | updateNClob(int columnIndex, java.io.Reader reader, long length)Updates the designated column using the given Reader
object, which is the given number of characters long.
When a very large UNICODE value is input to a LONGVARCHAR
parameter, it may be more practical to send it via a
java.io.Reader object. The JDBC driver will
do any necessary conversion from UNICODE to the database char format.
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.
resultSet.updateNClob(columnIndex, reader, length);
|
public void | updateNClob(java.lang.String columnLabel, java.io.Reader reader, long length)Updates the designated column using the given Reader
object, which is the given number of characters long.
When a very large UNICODE value is input to a LONGVARCHAR
parameter, it may be more practical to send it via a
java.io.Reader object. The JDBC driver will
do any necessary conversion from UNICODE to the database char format.
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.
resultSet.updateNClob(columnLabel, reader, length);
|
public void | updateNClob(int columnIndex, java.io.Reader reader)Updates the designated column using the given Reader
The data will be read from the stream
as needed until end-of-stream is reached. The JDBC driver will
do any necessary conversion from UNICODE to the database char format.
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.
Note: Consult your JDBC driver documentation to determine if
it might be more efficient to use a version of
updateNClob which takes a length parameter.
resultSet.updateNClob(columnIndex, reader);
|
public void | updateNClob(java.lang.String columnLabel, java.io.Reader reader)Updates the designated column using the given Reader
object.
The data will be read from the stream
as needed until end-of-stream is reached. The JDBC driver will
do any necessary conversion from UNICODE to the database char format.
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.
Note: Consult your JDBC driver documentation to determine if
it might be more efficient to use a version of
updateNClob which takes a length parameter.
resultSet.updateNClob(columnLabel, reader);
|
public void | updateNString(int columnIndex, java.lang.String nString)Updates the designated column with a String value.
It is intended for use when updating NCHAR ,NVARCHAR
and LONGNVARCHAR columns.
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.
resultSet.updateNString(columnIndex, nString);
|
public void | updateNString(java.lang.String columnLabel, java.lang.String nString)Updates the designated column with a String value.
It is intended for use when updating NCHAR ,NVARCHAR
and LONGNVARCHAR columns.
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.
resultSet.updateNString(columnLabel, nString);
|
public void | updateRowId(int columnIndex, java.sql.RowId x)Updates the designated column with a RowId 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.
resultSet.updateRowId(columnIndex, x);
|
public void | updateRowId(java.lang.String columnLabel, java.sql.RowId x)Updates the designated column with a RowId 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.
resultSet.updateRowId(columnLabel, x);
|
public void | updateSQLXML(int columnIndex, java.sql.SQLXML xmlObject)Updates the designated column with a java.sql.SQLXML 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.
resultSet.updateSQLXML(columnIndex, xmlObject);
|
public void | updateSQLXML(java.lang.String columnLabel, java.sql.SQLXML xmlObject)Updates the designated column with a java.sql.SQLXML 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.
resultSet.updateSQLXML(columnLabel, xmlObject);
|