Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.sql

Interface SQLOutput

java.lang.Object
|
+--java.sql.SQLOutput


public interface SQLOutput

This interface provides methods for writing Java types to a SQL stream. It is used for implemented custom type mappings for user defined data types.

Author:

Method Summary

voidwriteArray(java.sql.Array x)

This method writes the specified Java SQL Array object to the SQL stream.
voidwriteAsciiStream(java.io.InputStream x)

This method writes the specified ASCII text stream to the SQL stream.
voidwriteBigDecimal(java.math.BigDecimal x)

This method writes the specified Java BigDecimal to the SQL stream.
voidwriteBinaryStream(java.io.InputStream x)

This method writes the specified uninterpreted binary byte stream to the SQL stream.
voidwriteBlob(java.sql.Blob x)

This method writes the specified Java SQL Blob object to the SQL stream.
voidwriteBoolean(boolean x)

This method writes the specified Java boolean to the SQL stream.
voidwriteByte(byte x)

This method writes the specified Java byte to the SQL stream.
voidwriteBytes(byte[] x)

This method writes the specified Java byte array to the SQL stream.
voidwriteCharacterStream(java.io.Reader x)

This method writes the specified Java character stream to the SQL stream.
voidwriteClob(java.sql.Clob x)

This method writes the specified Java SQL Clob object to the SQL stream.
voidwriteDate(java.sql.Date x)

This method writes the specified Java java.sql.Date to the SQL stream.
voidwriteDouble(double x)

This method writes the specified Java double to the SQL stream.
voidwriteFloat(float x)

This method writes the specified Java float to the SQL stream.
voidwriteInt(int x)

This method writes the specified Java int to the SQL stream.
voidwriteLong(long x)

This method writes the specified Java long to the SQL stream.
voidwriteObject(java.sql.SQLData x)

This method writes the specified Java SQLData object to the SQL stream.
voidwriteRef(java.sql.Ref x)

This method writes the specified Java SQL Ref object to the SQL stream.
voidwriteShort(short x)

This method writes the specified Java short to the SQL stream.
voidwriteString(java.lang.String x)

This method writes the specified Java String to the SQL stream.
voidwriteStruct(java.sql.Struct x)

This method writes the specified Java SQL Struct object to the SQL stream.
voidwriteTime(java.sql.Time x)

This method writes the specified Java java.sql.Time to the SQL stream.
voidwriteTimestamp(java.sql.Timestamp x)

This method writes the specified Java java.sql.Timestamp to the SQL stream.
voidwriteURL(java.net.URL x)

Method Details

writeArray

public void writeArray(java.sql.Array x)

This method writes the specified Java SQL Array object to the SQL stream.

Parameters:

Throws:


writeAsciiStream

public void writeAsciiStream(java.io.InputStream x)

This method writes the specified ASCII text stream to the SQL stream.

Parameters:

Throws:


writeBigDecimal

public void writeBigDecimal(java.math.BigDecimal x)

This method writes the specified Java BigDecimal to the SQL stream.

Parameters:

Throws:


writeBinaryStream

public void writeBinaryStream(java.io.InputStream x)

This method writes the specified uninterpreted binary byte stream to the SQL stream.

Parameters:

Throws:


writeBlob

public void writeBlob(java.sql.Blob x)

This method writes the specified Java SQL Blob object to the SQL stream.

Parameters:

Throws:


writeBoolean

public void writeBoolean(boolean x)

This method writes the specified Java boolean to the SQL stream.

Parameters:

Throws:


writeByte

public void writeByte(byte x)

This method writes the specified Java byte to the SQL stream.

Parameters:

Throws:


writeBytes

public void writeBytes(byte[] x)

This method writes the specified Java byte array to the SQL stream.

Parameters:

Throws:


writeCharacterStream

public void writeCharacterStream(java.io.Reader x)

This method writes the specified Java character stream to the SQL stream.

Parameters:

Throws:


writeClob

public void writeClob(java.sql.Clob x)

This method writes the specified Java SQL Clob object to the SQL stream.

Parameters:

Throws:


writeDate

public void writeDate(java.sql.Date x)

This method writes the specified Java java.sql.Date to the SQL stream.

Parameters:

Throws:


writeDouble

public void writeDouble(double x)

This method writes the specified Java double to the SQL stream.

Parameters:

Throws:


writeFloat

public void writeFloat(float x)

This method writes the specified Java float to the SQL stream.

Parameters:

Throws:


writeInt

public void writeInt(int x)

This method writes the specified Java int to the SQL stream.

Parameters:

Throws:


writeLong

public void writeLong(long x)

This method writes the specified Java long to the SQL stream.

Parameters:

Throws:


writeObject

public void writeObject(java.sql.SQLData x)

This method writes the specified Java SQLData object to the SQL stream.

Parameters:

Throws:


writeRef

public void writeRef(java.sql.Ref x)

This method writes the specified Java SQL Ref object to the SQL stream.

Parameters:

Throws:


writeShort

public void writeShort(short x)

This method writes the specified Java short to the SQL stream.

Parameters:

Throws:


writeString

public void writeString(java.lang.String x)

This method writes the specified Java String to the SQL stream.

Parameters:

Throws:


writeStruct

public void writeStruct(java.sql.Struct x)

This method writes the specified Java SQL Struct object to the SQL stream.

Parameters:

Throws:


writeTime

public void writeTime(java.sql.Time x)

This method writes the specified Java java.sql.Time to the SQL stream.

Parameters:

Throws:


writeTimestamp

public void writeTimestamp(java.sql.Timestamp x)

This method writes the specified Java java.sql.Timestamp to the SQL stream.

Parameters:

Throws:


writeURL

public void writeURL(java.net.URL x)

Since:Parameters: