All Known Implementing Classes:
SQLInputImpl
SQLInput methods. The reader methods
(readLong, readBytes, and so on)
provide a way for an implementation of the SQLData
interface to read the values in an SQLInput object.
And as described in SQLData, calls to reader methods must
be made in the order that their corresponding attributes appear in the
SQL definition of the type.
The method wasNull is used to determine whether
the last value read was SQL NULL.
When the method getObject is called with an
object of a class implementing the interface SQLData,
the JDBC driver calls the method SQLData.getSQLType
to determine the SQL type of the user-defined type (UDT)
being custom mapped. The driver
creates an instance of SQLInput, populating it with the
attributes of the UDT. The driver then passes the input
stream to the method SQLData.readSQL, which in turn
calls the SQLInput reader methods
in its implementation for reading the
attributes from the input stream.
1.2 - | Method from java.sql.SQLInput Summary: |
|---|
| readArray, readAsciiStream, readBigDecimal, readBinaryStream, readBlob, readBoolean, readByte, readBytes, readCharacterStream, readClob, readDate, readDouble, readFloat, readInt, readLong, readNClob, readNString, readObject, readRef, readRowId, readSQLXML, readShort, readString, readTime, readTimestamp, readURL, wasNull |
| Method from java.sql.SQLInput Detail: |
|---|
ARRAY value from the stream and returns it as an
Array object in the Java programming language. |
|
java.math.BigDecimal
object in the Java programming language. |
|
BLOB value from the stream and returns it as a
Blob object in the Java programming language. |
boolean
in the Java programming language. |
byte
in the Java programming language. |
|
|
CLOB value from the stream and returns it as a
Clob object in the Java programming language. |
java.sql.Date object. |
double
in the Java programming language. |
float
in the Java programming language. |
int
in the Java programming language. |
long
in the Java programming language. |
NCLOB value from the stream and returns it as a
NClob object in the Java programming language. |
String
in the Java programming language. It is intended for use when
accessing NCHAR,NVARCHAR
and LONGNVARCHAR columns. |
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 |
REF value from the stream and returns it as a
Ref object in the Java programming language. |
ROWID value from the stream and returns it as a
RowId object in the Java programming language. |
XML value from the stream and returns it as a
SQLXML object in the Java programming language. |
short
in the Java programming language. |
String
in the Java programming language. |
java.sql.Time object. |
java.sql.Timestamp object. |
DATALINK value from the stream and returns it as a
java.net.URL object in the Java programming language. |
NULL. |