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

翻訳前ページへ


Interface XSQLData
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

interface XSQLData
Description
is used for the custom mapping of SQL 使用者-defined types.

This interface must be 器具/実施するd by a service that is 登録(する)d in a type mapping. It is 推定する/予想するd that this interface will 普通は be 器具/実施するd by a 道具. The methods in this interface are called by the driver and are never called by a programmer 直接/まっすぐに.


Methods' 要約
getSQLTypeName returns the fully-qualified 指名する of the SQL 使用者-defined type that this 反対する 代表するs.  
readSQL 居住させるs this 反対する with data read from the database.  
writeSQL 令状s this 反対する to the given SQL data stream.  
Methods' 詳細(に述べる)s
getSQLTypeName
string
getSQLTypeName()
raises( SQLException );

Description
returns the fully-qualified 指名する of the SQL 使用者-defined type that this 反対する 代表するs.

This method is called by the SDBC driver to get the 指名する of the UDT instance that is 存在 mapped to this instance of SQLData.

Returns
the 指名する of the SQL type.
Throws
SQLException if a database 接近 error occurs.
readSQL
無効の
readSQL( [in] XSQLInput  stream,
[in] string  typeName )
raises( SQLException );

Description
居住させるs this 反対する with data read from the database.

The 実施 of the method must follow this 議定書:
It must read each of the せいにするs or elements of the SQL type from the given input stream. This is done by calling a method of the input stream to read each item, in the order that they appear in the SQL 鮮明度/定義 of the type. The method readSQL then 割り当てるs the data to appropriate fields or elements (of this or other 反対するs).
特に, it must call the appropriate XSQLInput.readXXX method(s) to do the に引き続いて: for a 際立った Type, read its 選び出す/独身 data element; for a Structured Type, read a value for each せいにする of the SQL type.

The SDBC driver initializes the input stream with a type 地図/計画する before calling this method, which is used by the appropriate SQLInput.readXXX method on the stream.

Parameter stream
the input SQL data stream
Parameter typeName
the SQL type of the value on the data stream
Throws
SQLException if a database 接近 error occurs.
See also
XSQLInput
writeSQL
無効の
writeSQL( [in] XSQLOutput  stream )
raises( SQLException );

Description
令状s this 反対する to the given SQL data stream.

The 実施 of the method must follow this 議定書:
It must 令状 each of the せいにするs of the SQL type to the given 生産(高) stream. This is done by calling a method of the 生産(高) stream to 令状 each item, in the order that they appear in the SQL 鮮明度/定義 of the type. 特に, it must call the appropriate XSQLOutput.writeXXX method(s) to do the に引き続いて:
for a 際立った Type, 令状 its 選び出す/独身 data element; for a Structured Type, 令状 a value for each せいにする of the SQL type.

Parameter stream
the 生産(高) SQL data stream
Throws
SQLException if a database 接近 error occurs.
See also
XSQLOutput
最高の,を越す of Page

Apache Software Foundation

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

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