このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Interface XSQLOutput
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: sdbc ::

interface XSQLOutput
Description
is used as an 生産(高) stream for 令状ing the せいにするs of a 使用者-defined type 支援する to the database. This interface, used only for custom mapping, is used by the driver, and its methods are never 直接/まっすぐに invoked by a programmer.

When an 反対する of a class 器具/実施するing interface XSQLData is passed as an argument to a SQL 声明, the JDBC driver calls SQLData::getSQLType to 決定する the 肉親,親類d of SQL datum 存在 passed to the database.
The driver then creates an instance of XSQLOutput and passes it to the method XSQLData::writeSQL . The method writeSQL in turn calls the appropriate XSQLOutput.writeXXX methods to 令状 data from the XSQLData 反対する to the XSQLOutput 生産(高) stream as the 代表 of a SQL 使用者-defined type.


Methods' 要約
writeString 令状s the next せいにする to the stream as a string.  
writeBoolean 令状s the next せいにする to the stream as boolean.  
writeByte 令状s the next せいにする to the stream as byte.  
writeShort 令状s the next せいにする to the stream as short.  
writeInt 令状s the next せいにする to the stream as long.  
writeLong 令状s the next せいにする to the stream as hyper.  
writeFloat 令状s the next せいにする to the stream as float.  
writeDouble 令状s the next せいにする to the stream as 二塁打.  
writeBytes 令状s the next せいにする to the stream as byte sequence.  
writeDate 令状s the next せいにする to the stream as a date.  
writeTime 令状s the next せいにする to the stream as a time.  
writeTimestamp 令状s the next せいにする to the stream as a datetime.  
writeBinaryStream 令状s the next せいにする to the stream as a stream of uninterpreted bytes.  
writeCharacterStream 令状s the next せいにする to the stream as a stream of unicode string.  
writeObject 令状s to the stream the data 含む/封じ込めるd in the given XSQLData 反対する.  
writeRef 令状s a REF(<structured-type>) to the stream.  
writeBlob 令状s a BLOB to the stream.  
writeClob 令状s a CLOB to the stream.  
writeStruct 令状s a structured-type to the stream.  
writeArray 令状s an array to the stream.  
Methods' 詳細(に述べる)s
writeString
無効の
writeString( [in] string  x )
raises( SQLException );

Description
令状s the next せいにする to the stream as a string.
Parameter x
the value to pass to the database.
Throws
SQLException if a database 接近 error occurs.
writeBoolean
無効の
writeBoolean( [in] boolean  x )
raises( SQLException );

Description
令状s the next せいにする to the stream as boolean.
Parameter x
the value to pass to the database.
Throws
SQLException if a database 接近 error occurs.
writeByte
無効の
writeByte( [in] byte  x )
raises( SQLException );

Description
令状s the next せいにする to the stream as byte.
Parameter x
the value to pass to the database.
Throws
SQLException if a database 接近 error occurs.
writeShort
無効の
writeShort( [in] short  x )
raises( SQLException );

Description
令状s the next せいにする to the stream as short.
Parameter x
the value to pass to the database.
Throws
SQLException if a database 接近 error occurs.
writeInt
無効の
writeInt( [in] long  x )
raises( SQLException );

Description
令状s the next せいにする to the stream as long.
Parameter x
the value to pass to the database.
Throws
SQLException if a database 接近 error occurs.
writeLong
無効の
writeLong( [in] hyper  x )
raises( SQLException );

Description
令状s the next せいにする to the stream as hyper.
Parameter x
the value to pass to the database.
Throws
SQLException if a database 接近 error occurs.
writeFloat
無効の
writeFloat( [in] float  x )
raises( SQLException );

Description
令状s the next せいにする to the stream as float.
Parameter x
the value to pass to the database.
Throws
SQLException if a database 接近 error occurs.
writeDouble
無効の
writeDouble( [in] 二塁打  x )
raises( SQLException );

Description
令状s the next せいにする to the stream as 二塁打.
Parameter x
the value to pass to the database.
Throws
SQLException if a database 接近 error occurs.
writeBytes
無効の
writeBytes( [in] sequence< byte >  x )
raises( SQLException );

Description
令状s the next せいにする to the stream as byte sequence.
Parameter x
the value to pass to the database.
Throws
SQLException if a database 接近 error occurs.
writeDate
無効の
writeDate( [in] ::com::sun::星/主役にする::util::Date  x )
raises( SQLException );

Description
令状s the next せいにする to the stream as a date.
Parameter x
the value to pass to the database.
Throws
SQLException if a database 接近 error occurs.
writeTime
無効の
writeTime( [in] ::com::sun::星/主役にする::util::Time  x )
raises( SQLException );

Description
令状s the next せいにする to the stream as a time.
Parameter x
the value to pass to the database.
Throws
SQLException if a database 接近 error occurs.
writeTimestamp
無効の
writeTimestamp( [in] ::com::sun::星/主役にする::util::DateTime  x )
raises( SQLException );

Description
令状s the next せいにする to the stream as a datetime.
Parameter x
the value to pass to the database.
Throws
SQLException if a database 接近 error occurs.
writeBinaryStream
無効の
writeBinaryStream( [in] ::com::sun::星/主役にする::io::XInputStream  x )
raises( SQLException );

Description
令状s the next せいにする to the stream as a stream of uninterpreted bytes.
Parameter x
the value to pass to the database.
Throws
SQLException if a database 接近 error occurs.
writeCharacterStream
無効の
writeCharacterStream( [in] ::com::sun::星/主役にする::io::XInputStream  x )
raises( SQLException );

Description
令状s the next せいにする to the stream as a stream of unicode string.
Parameter x
the value to pass to the database.
Throws
SQLException if a database 接近 error occurs.
writeObject
無効の
writeObject( [in] XSQLData  x )
raises( SQLException );

Description
令状s to the stream the data 含む/封じ込めるd in the given XSQLData 反対する.

When the XSQLData 反対する is NULL , this method 令状s an SQL NULL to the stream. さもなければ, it calls the XSQLData::writeSQL() method of the given 反対する, which 令状s the 反対する's せいにするs to the stream. The 実施 of the method XSQLData::writeSQL() calls the appropriate XSQLOutput.writeXXX method(s) for 令状ing each of the 反対する's せいにするs in order.
The せいにするs must be read from an XSQLInput input stream and written to an XSQLOutput 生産(高) stream in the same order in which they were 名簿(に載せる)/表(にあげる)d in the SQL 鮮明度/定義 of the 使用者-defined type.

Parameter x
the value to pass to the database.
Throws
SQLException if a database 接近 error occurs.
writeRef
無効の
writeRef( [in] XRef  x )
raises( SQLException );

Description
令状s a REF(&lt;structured-type&gt;) to the stream.
Parameter x
the value to pass to the database.
Throws
SQLException if a database 接近 error occurs.
writeBlob
無効の
writeBlob( [in] XBlob  x )
raises( SQLException );

Description
令状s a BLOB to the stream.
Parameter x
the value to pass to the database.
Throws
SQLException if a database 接近 error occurs.
writeClob
無効の
writeClob( [in] XClob  x )
raises( SQLException );

Description
令状s a CLOB to the stream.
Parameter x
the value to pass to the database.
Throws
SQLException if a database 接近 error occurs.
writeStruct
無効の
writeStruct( [in] XStruct  x )
raises( SQLException );

Description
令状s a structured-type to the stream.
Parameter x
the value to pass to the database.
Throws
SQLException if a database 接近 error occurs.
writeArray
無効の
writeArray( [in] XArray  x )
raises( SQLException );

Description
令状s an array to the stream.
Parameter x
the value to pass to the database.
Throws
SQLException if a database 接近 error occurs.
最高の,を越す of Page

The ASF

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The ASF logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.