Methods Summary |
---|
public java.sql.Array | readArray()Reads an SQL ARRAY value from the stream and returns it as an
Array object in the Java programming language.
|
public java.io.InputStream | readAsciiStream()Reads the next attribute in the stream and returns it as a stream of ASCII characters.
|
public java.math.BigDecimal | readBigDecimal()Reads the next attribute in the stream and returns it as a java.math.BigDecimal
object in the Java programming language.
|
public java.io.InputStream | readBinaryStream()Reads the next attribute in the stream and returns it as a stream of uninterpreted
bytes.
|
public java.sql.Blob | readBlob()Reads an SQL BLOB value from the stream and returns it as a
Blob object in the Java programming language.
|
public boolean | readBoolean()Reads the next attribute in the stream and returns it as a boolean
in the Java programming language.
|
public byte | readByte()Reads the next attribute in the stream and returns it as a byte
in the Java programming language.
|
public byte[] | readBytes()Reads the next attribute in the stream and returns it as an array of bytes
in the Java programming language.
|
public java.io.Reader | readCharacterStream()Reads the next attribute in the stream and returns it as a stream of Unicode characters.
|
public java.sql.Clob | readClob()Reads an SQL CLOB value from the stream and returns it as a
Clob object in the Java programming language.
|
public java.sql.Date | readDate()Reads the next attribute in the stream and returns it as a java.sql.Date object.
|
public double | readDouble()Reads the next attribute in the stream and returns it as a double
in the Java programming language.
|
public float | readFloat()Reads the next attribute in the stream and returns it as a float
in the Java programming language.
|
public int | readInt()Reads the next attribute in the stream and returns it as an int
in the Java programming language.
|
public long | readLong()Reads the next attribute in the stream and returns it as a long
in the Java programming language.
|
public java.sql.NClob | readNClob()Reads an SQL NCLOB value from the stream and returns it as a
NClob object in the Java programming language.
|
public java.lang.String | readNString()Reads the next attribute in the stream and returns it as a String
in the Java programming language. It is intended for use when
accessing NCHAR ,NVARCHAR
and LONGNVARCHAR columns.
|
public java.lang.Object | readObject()Reads the datum at the head of the stream and returns it as an
Object in the Java programming language. The
actual type of the object returned is determined by the default type
mapping, and any customizations present in this stream's type map.
A type map is registered with the stream by the JDBC driver before the
stream is passed to the application.
When the datum at the head of the stream is an SQL NULL ,
the method returns null . If the datum is an SQL structured or distinct
type, it determines the SQL type of the datum at the head of the stream.
If the stream's type map has an entry for that SQL type, the driver
constructs an object of the appropriate class and calls the method
SQLData.readSQL on that object, which reads additional data from the
stream, using the protocol described for that method.
|
public java.sql.Ref | readRef()Reads an SQL REF value from the stream and returns it as a
Ref object in the Java programming language.
|
public java.sql.RowId | readRowId()Reads an SQL ROWID value from the stream and returns it as a
RowId object in the Java programming language.
|
public java.sql.SQLXML | readSQLXML()Reads an SQL XML value from the stream and returns it as a
SQLXML object in the Java programming language.
|
public short | readShort()Reads the next attribute in the stream and returns it as a short
in the Java programming language.
|
public java.lang.String | readString()Reads the next attribute in the stream and returns it as a String
in the Java programming language.
|
public java.sql.Time | readTime()Reads the next attribute in the stream and returns it as a java.sql.Time object.
|
public java.sql.Timestamp | readTimestamp()Reads the next attribute in the stream and returns it as a java.sql.Timestamp object.
|
public java.net.URL | readURL()Reads an SQL DATALINK value from the stream and returns it as a
java.net.URL object in the Java programming language.
|
public boolean | wasNull()Retrieves whether the last value read was SQL NULL .
|