Name
SQLInput
Synopsis
Interface
Name: java.sql.SQLInput
Superclass: None
Immediate Subclasses: None
Interfaces Implemented: None
Availability: New as of JDK 1.2
Description
This interface represents a stream of data coming from a relational
database. In this respect, it is very similar to an
ObjectInputStream
class. Programmers should never
use this class, as it exists purely for drivers in supporting
Java-relational type mapping.
Class Summary
public interface SQLInput { Array readArray( ) throws SQLException; InputStream readAsciiStream( ) throws SQLException; java.math.BigDecimal readBigDecimal( ) throws SQLException; InputStream readBinaryStream( ) throws SQLException; Blob readBlob( ) throws SQLException; boolean readBoolean( ) throws SQLException; byte readByte( ) throws SQLException; byte[] readBytes( ) throws SQLException; Reader readCharacterStream( ) throws SQLException; Clob readClob( ) throws SQLException; Date readDate( ) throws SQLException; double readDouble( ) throws SQLException; float readFloat( ) throws SQLException; int readInt( ) throws SQLException; long readLong( ) throws SQLException; Object readObject( ) throws SQLException; Ref readRef( ) throws SQLException; short readShort( ) throws SQLException; String readString( ) throws SQLException; Time readTime( ) throws SQLException; Timestamp readTimestamp( ) throws SQLException; boolean wasNull( ) throws SQLException; }
Object Methods
readArray( ), readAsciiStream( ), readBigDecimal( ), readBinryStream( ), readBlob( ...
Get Database Programming with JDBC & Java, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.