|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SQLInput
This interface provides methods for reading values from a stream that is connected to a SQL structured or distinct type. It is used for custom mapping of user defined data types.
| Method Summary | |
|---|---|
Array |
readArray()
This method reads the next item from the stream a Java SQL Array. |
InputStream |
readAsciiStream()
This method reads the next item from the stream a ASCII text InputStream. |
BigDecimal |
readBigDecimal()
This method reads the next item from the stream a Java BigDecimal. |
InputStream |
readBinaryStream()
This method reads the next item from the stream a binary InputStream. |
Blob |
readBlob()
This method reads the next item from the stream a Java SQL Blob. |
boolean |
readBoolean()
This method reads the next item from the stream a Java boolean. |
byte |
readByte()
This method reads the next item from the stream a Java byte. |
byte[] |
readBytes()
This method reads the next item from the stream a Java byte array |
Reader |
readCharacterStream()
This method reads the next item from the stream a character Reader. |
Clob |
readClob()
This method reads the next item from the stream a Java SQL Clob. |
Date |
readDate()
This method reads the next item from the stream a Java java.sql.Date. |
double |
readDouble()
This method reads the next item from the stream a Java double. |
float |
readFloat()
This method reads the next item from the stream a Java float. |
int |
readInt()
This method reads the next item from the stream a Java int. |
long |
readLong()
This method reads the next item from the stream a Java long. |
Object |
readObject()
This method reads the next item from the stream a Java Object. |
Ref |
readRef()
This method reads the next item from the stream a Java SQL Ref. |
short |
readShort()
This method reads the next item from the stream a Java short. |
String |
readString()
This method reads the next item from the stream a Java String. |
Time |
readTime()
This method reads the next item from the stream a Java java.sql.Time. |
Timestamp |
readTimestamp()
This method reads the next item from the stream a Java java.sql.Timestamp. |
URL |
readURL()
|
boolean |
wasNull()
This method tests whether or not the last value read was a SQL NULL value. |
| Method Detail |
|---|
String readString()
throws SQLException
String.
String.
SQLException - If an error occurs.
boolean readBoolean()
throws SQLException
boolean.
boolean.
SQLException - If an error occurs.
byte readByte()
throws SQLException
byte.
byte.
SQLException - If an error occurs.
short readShort()
throws SQLException
short.
short.
SQLException - If an error occurs.
int readInt()
throws SQLException
int.
int.
SQLException - If an error occurs.
long readLong()
throws SQLException
long.
long.
SQLException - If an error occurs.
float readFloat()
throws SQLException
float.
float.
SQLException - If an error occurs.
double readDouble()
throws SQLException
double.
double.
SQLException - If an error occurs.
BigDecimal readBigDecimal()
throws SQLException
BigDecimal.
BigDecimal.
SQLException - If an error occurs.
byte[] readBytes()
throws SQLException
SQLException - If an error occurs.
Date readDate()
throws SQLException
java.sql.Date.
java.sql.Date.
SQLException - If an error occurs.
Time readTime()
throws SQLException
java.sql.Time.
java.sql.Time.
SQLException - If an error occurs.
Timestamp readTimestamp()
throws SQLException
java.sql.Timestamp.
java.sql.Timestamp.
SQLException - If an error occurs.
Reader readCharacterStream()
throws SQLException
Reader.
Reader.
SQLException - If an error occurs.
InputStream readAsciiStream()
throws SQLException
InputStream.
InputStream.
SQLException - If an error occurs.
InputStream readBinaryStream()
throws SQLException
InputStream.
InputStream.
SQLException - If an error occurs.
Object readObject()
throws SQLException
Object.
Object.
SQLException - If an error occurs.
Ref readRef()
throws SQLException
Ref.
Ref.
SQLException - If an error occurs.
Blob readBlob()
throws SQLException
Blob.
Blob.
SQLException - If an error occurs.
Clob readClob()
throws SQLException
Clob.
Clob.
SQLException - If an error occurs.
Array readArray()
throws SQLException
Array.
Array.
SQLException - If an error occurs.
boolean wasNull()
throws SQLException
true if the last value read was a NULL,
false otherwise.
SQLException - If an error occurs.
URL readURL()
throws SQLException
SQLException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||