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

翻訳前ページへ


Interface XConnectionTools
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: sdb :: 道具s ::

interface XConnectionTools
Description
encapsulates さまざまな useful functionality around a ::com::sun::星/主役にする::sdb::関係

Most of the functionality 供給するd here is meaningful only 親族 to a given database 関係. For instance, for 引用するing (米)棚上げする/(英)提議する 指名するs, you need the meta data instance of the 関係. Thus, the 入ること/参加(者) point for 得るing a XConnectionTools instance is the ::com::sun::星/主役にする::sdb::関係 service.

公式文書,認める that nearly all functionality 供給するd by this interface is also 利用できる by other means, it's only 供給するd here for convenience 目的s.

Since
OOo 2.0.4

Methods' 要約
createTableName creates an instance supporting the XTableName interface, which can be used to manipulate (米)棚上げする/(英)提議する 指名するs for さまざまな 目的s.  
getObjectNames returns an instance supporting the XObjectNames interface, which 供給するs 接近 to functionality around (米)棚上げする/(英)提議する and query 指名するs.  
getDataSourceMetaData 供給するs 接近 to the 使用/適用-level data source meta data  
getFieldsByCommandDescriptor get fields for a result 始める,決める given by a "命令(する) descriptor"  
getComposer get the 作曲家 initialized with a 命令(する) and 命令(する) type.  
Methods' 詳細(に述べる)s
createTableName
XTableName
createTableName();

Description
creates an instance supporting the XTableName interface, which can be used to manipulate (米)棚上げする/(英)提議する 指名するs for さまざまな 目的s.

The returned 反対する is guanrateed to not be NULL.

getObjectNames
XObjectNames
getObjectNames();

Description
returns an instance supporting the XObjectNames interface, which 供給するs 接近 to functionality around (米)棚上げする/(英)提議する and query 指名するs.

The returned 反対する is guanrateed to not be NULL.

getDataSourceMetaData
XDataSourceMetaData
getDataSourceMetaData();

Description
供給するs 接近 to the 使用/適用-level data source meta data
getFieldsByCommandDescriptor
::com::sun::星/主役にする::コンテナ::XNameAccess
getFieldsByCommandDescriptor( [in] long  commandType,
[in] string  命令(する),
[out] ::com::sun::星/主役にする::lang::XComponent  keepFieldsAlive )
raises( ::com::sun::星/主役にする::sdbc::SQLException );

Description
get fields for a result 始める,決める given by a "命令(する) descriptor"

A 命令(する) descriptor here means:

  • a SDB-level 関係 (com.sun.星/主役にする.sdb::関係
  • a string 明示するing the 指名する of an 反対する 親族 to the 関係
  • a com.sun.星/主役にする.sdb::CommandType value 明示するing the type of the 反対する

Parameter commandType
the type of the 反対する
Parameter 命令(する)
the 反対する. This may be a (米)棚上げする/(英)提議する 指名する, a query 指名する, or an SQL 声明, depending on the value of _nCommandType
Parameter _rxCollectionOner
If (and only if) CommandType is CommandType.COMMAND, the fields collection which is returned by this 機能(する)/行事 here is a 一時的な 反対する. It is kept alive by another 反対する, which is to be created 一時的に, too. To 確実にする that the fields you get are valid as long as you need them, the owner which 支配(する)/統制するs their life time is 移転d to this parameter upon return.
Your fields live as long as this 構成要素 lives.
Additionally, you are encouraged to 配置する/処分する/したい気持ちにさせる this 構成要素 as soon as you don't need the fields anymore. It depends on the 関係's 実施 if this is necessary, but the is no 保証(人), so to be on the 安全な 味方する with 尊敬(する)・点 to 資源 漏れるs, you should 配置する/処分する/したい気持ちにさせる the 構成要素.
Returns
the コンテナ of the columns (aka fields) of the 反対する
getComposer
::com::sun::星/主役にする::sdb::XSingleSelectQueryComposer
getComposer( [in] long  commandType,
[in] string  命令(する) );

Description
get the 作曲家 initialized with a 命令(する) and 命令(する) type.
Parameter commandType
the type of the 反対する
Parameter 命令(する)
the 反対する. This may be a (米)棚上げする/(英)提議する 指名する, a query 指名する, or an SQL 声明, depending on the value of _nCommandType
Returns
the 作曲家 filled with 命令(する) and 命令(する) type.
最高の,を越す 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.