O'Reilly logo

Database Programming with JDBC & Java, Second Edition by George Reese

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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( ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required