Methods Summary |
---|
public java.sql.Array | readArray()Returns the next attribute in the stream in the form of a {@code
java.sql.Array}.
|
public java.io.InputStream | readAsciiStream()Returns the next attribute in the stream in the form of an ASCII
character stream embodied as a {@code java.io.InputStream}.
|
public java.math.BigDecimal | readBigDecimal()Returns the next attribute in the stream in the form of a {@code
java.math.BigDecimal}.
|
public java.io.InputStream | readBinaryStream()Returns the next attribute in the stream in the form of a stream of bytes
embodied as a {@code java.io.InputStream}.
|
public java.sql.Blob | readBlob()Returns the next attribute in the stream in the form of a {@code
java.sql.Blob}.
|
public boolean | readBoolean()Returns the next attribute in the stream in the form of a {@code boolean}
.
|
public byte | readByte()Returns the next attribute in the stream in the form of a {@code byte}.
|
public byte[] | readBytes()Returns the next attribute in the stream in the form of a byte array.
|
public java.io.Reader | readCharacterStream()Returns the next attribute in the stream in the form of a Unicode
character stream embodied as a {@code java.io.Reader}.
|
public java.sql.Clob | readClob()Returns the next attribute in the stream in the form of a {@code
java.sql.Clob}.
|
public java.sql.Date | readDate()Returns the next attribute in the stream in the form of a {@code
java.sql.Date}.
|
public double | readDouble()Returns the next attribute in the stream in the form of a {@code double}.
|
public float | readFloat()Returns the next attribute in the stream in the form of a {@code float}.
|
public int | readInt()Returns the next attribute in the stream in the form of an {@code int}.
|
public long | readLong()Returns the next attribute in the stream in the form of a {@code long}.
|
public java.lang.Object | readObject()Returns the next attribute in the stream in the form of a {@code
java.lang.Object}.
The type of the {@code Object} returned is determined by the type mapping
for this JDBC driver, including any customized mappings, if present. A
type map is given to the {@code SQLInput} by the JDBC driver before the
{@code SQLInput} is given to the application.
If the attribute is an SQL structured or distinct type, its SQL type is
determined. If the stream's type map contains an element for that SQL
type, the driver creates an object for the relevant type and invokes the
method {@code SQLData.readSQL} on it, which reads supplementary data from
the stream using whichever protocol is defined for that method.
|
public java.sql.Ref | readRef()Returns the next attribute in the stream in the form of a {@code
java.sql.Ref}.
|
public short | readShort()Returns the next attribute in the stream in the form of a {@code short}.
|
public java.lang.String | readString()Returns the next attribute in the stream in the form of a {@code String}.
|
public java.sql.Time | readTime()Returns the next attribute in the stream in the form of a {@code
java.sql.Time}.
|
public java.sql.Timestamp | readTimestamp()Returns the next attribute in the stream in the form of a {@code
java.sql.Timestamp}.
|
public java.net.URL | readURL()Reads the next attribute in the stream (SQL DATALINK value) and returns
it as a {@code java.net.URL} object.
|
public boolean | wasNull()Reports whether the last value read was SQL {@code NULL}.
|