Name

SQLOutput

Synopsis

Interface Name: java.sql.SQLOutput

Superclass: None

Immediate Subclasses: None

Interfaces Implemented: None

Availability: New as of JDK 1.2

Description

This interface represents a stream of data sent to a relational database. This interface is used by JDBC drivers and should never be used directly by a programmer.

Class Summary

  public interface SQLOutput {
    void writeArray(Array arr) throws SQLException;
    void writeAsciiStream(InputStream is) throws SQLException;
    void writeBigDecimal(java.math.BigDecimal bd) 
      throws SQLException;
    void writeBinaryStream(InputStream is) throws SQLException;
    void writeBlob(Blob bl) throws SQLException;
    void writeBoolean(boolean b) throws SQLException;
    void writeByte(byte b) throws SQLException;
    void writeBytes(byte[] data) throws SQLException;
    void writeCharacterStream(Reader rdr) throws SQLException;
    void writeClob(Clob cl) throws SQLException;
    void writeDate(Date d) throws SQLException;
    void writeDouble(double d) throws SQLException;
    void writeFloat(float f) throws SQLException;
    void writeInt(int i) throws SQLException;
    void writeLong(long l) throws SQLException;
    void writeObject(Object ob) throws SQLException;
    void writeRef(Ref ref) throws SQLException;
    void writeShort(short s) throws SQLException;
    void writeString(String str) throws SQLException;
    void writeStruct(Struct s) throws SQLException;
    void writeTime(Time t) throws SQLException;
    void writeTimestamp(Timestamp ts) throws SQLException;
}

Object Methods

writeArray( ), writeAsciiStream( ...

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.