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

翻訳前ページへ


Interface XArray
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

interface XArray
Description
is used for mapping the SQL type DataType::ARRAY . By default, an Array is a 処理/取引 duration 言及/関連 to an SQL array. By default, an Array is 器具/実施するd using a SQL LOCATOR(array) internally.

Methods' 要約
getBaseTypeName returns the SQL type 指名する of the elements in the array 指定するd by this Array 反対する.  
getBaseType returns the SDBC type of the elements in the array 指定するd by this Array 反対する.  
getArray retrieves the contents of the SQL array 指定するd by this Array 反対する, using the 明示するd typeMap for type 地図/計画する customizations.  
getArrayAtIndex returns an array 含む/封じ込めるing a slice of the SQL array, beginning with the 明示するd 索引 and 含む/封じ込めるing up to count 連続する elements of the SQL array.  
getResultSet returns a result 始める,決める that 含む/封じ込めるs the elements of the array 指定するd by this Array 反対する and uses the given typeMap to 地図/計画する the array elements. If the base type of the array does not match a 使用者-defined type in typeMap or the typeMap is NULL , the 関係 type mapping is used instead.  
getResultSetAtIndex returns a result 始める,決める 持つ/拘留するing the elements of the subarray that starts at 索引 索引 and 含む/封じ込めるs up to count 連続する elements. This method uses the given typeMap to 地図/計画する the array elements. If the base type of the array does not match a 使用者-defined type in typeMap or the typeMap is NULL , the 関係 type mapping is used instead.  
Methods' 詳細(に述べる)s
getBaseTypeName
string
getBaseTypeName()
raises( SQLException );

Description
returns the SQL type 指名する of the elements in the array 指定するd by this Array 反対する.

If the elements are a built-in type, it returns the database-明確な/細部 type 指名する of the elements. If the elements are a 使用者-defined type (UDT), this method returns the fully-qualified SQL type 指名する.

Returns
a String that is the database-明確な/細部 指名する for a built-in base type or the fully-qualified SQL type 指名する for a base type that is a UDT
Throws
SQLException if a database 接近 error occurs.
getBaseType
long
getBaseType()
raises( SQLException );

Description
returns the SDBC type of the elements in the array 指定するd by this Array 反対する.
Returns
a constant from the SDBC types that is the type code for the elements in the array 指定するd by this Array 反対する.
Throws
SQLException if a database 接近 error occurs.
getArray
sequence< any >
getArray( [in] ::com::sun::星/主役にする::コンテナ::XNameAccess  typeMap )
raises( SQLException );

Description
retrieves the contents of the SQL array 指定するd by this Array 反対する, using the 明示するd typeMap for type 地図/計画する customizations.

If the base type of the array does not match a 使用者-defined type in typeMap , the 基準 mapping is used instead.

Parameter typeMap
is a 地図/計画する 反対する that 含む/封じ込めるs mappings of SQL type 指名するs to services. If the typeMap is NULL , the type-地図/計画する associated with the 関係 for customizations of the type-mappings is used.
Returns
an sequence that 含む/封じ込めるs the ordered elements of the SQL array 指定するd by this 反対する.
Throws
SQLException if an error occurs while 試みる/企てるing to 接近 the array.
getArrayAtIndex
sequence< any >
getArrayAtIndex( [in] long  索引,
[in] long  count,
[in] ::com::sun::星/主役にする::コンテナ::XNameAccess  typeMap )
raises( SQLException );

Description
returns an array 含む/封じ込めるing a slice of the SQL array, beginning with the 明示するd 索引 and 含む/封じ込めるing up to count 連続する elements of the SQL array.
Parameter 索引
is the array 索引 of the first element to retrieve; the first element is at 索引 1.
Parameter count
is the number of 連続する SQL array elements to retrieve.
Parameter typeMap
is a 地図/計画する 反対する that 含む/封じ込めるs mappings of SQL type 指名するs to services. If the typeMap is NULL , the type-地図/計画する associated with the 関係 for customizations of the type-mappings is used.
Returns
an array 含む/封じ込めるing up to count 連続した elements of the SQL array, beginning with element 索引 .
Throws
SQLException if an error occurs while 試みる/企てるing to 接近 the array.
getResultSet
XResultSet
getResultSet( [in] ::com::sun::星/主役にする::コンテナ::XNameAccess  typeMap )
raises( SQLException );

Description
returns a result 始める,決める that 含む/封じ込めるs the elements of the array 指定するd by this Array 反対する and uses the given typeMap to 地図/計画する the array elements. If the base type of the array does not match a 使用者-defined type in typeMap or the typeMap is NULL , the 関係 type mapping is used instead.

The result 始める,決める 含む/封じ込めるs one 列/漕ぐ/騒動 for each array element, with two columns in each 列/漕ぐ/騒動. The second column 蓄える/店s the element value; the first column 蓄える/店s the 索引 into the array for that element (with the first array element 存在 at 索引 1). The 列/漕ぐ/騒動s are in 上がるing order corresponding to the order of the indices.

Parameter typeMap
含む/封じ込めるs mapping of SQL 使用者-defined types to classes in the UNO programming language
Returns
a ResultSet 反対する 含む/封じ込めるing one 列/漕ぐ/騒動 for each of the elements in the array 指定するd by this Array 反対する, with the 列/漕ぐ/騒動s in 上がるing order based on the indices.
Throws
SQLException if a database 接近 error occurs.
getResultSetAtIndex
XResultSet
getResultSetAtIndex( [in] long  索引,
[in] long  count,
[in] ::com::sun::星/主役にする::コンテナ::XNameAccess  typeMap )
raises( SQLException );

Description
returns a result 始める,決める 持つ/拘留するing the elements of the subarray that starts at 索引 索引 and 含む/封じ込めるs up to count 連続する elements. This method uses the given typeMap to 地図/計画する the array elements. If the base type of the array does not match a 使用者-defined type in typeMap or the typeMap is NULL , the 関係 type mapping is used instead.

The result 始める,決める 含む/封じ込めるs one 列/漕ぐ/騒動 for each array element, with two columns in each 列/漕ぐ/騒動. The second column 蓄える/店s the element value; the first column 蓄える/店s the 索引 into the array for that element (with the first array element 存在 at 索引 1). The 列/漕ぐ/騒動s are in 上がるing order corresponding to the order of the indices.

Parameter 索引
the array 索引 of the first element to retrieve; the first element is at 索引 1.
Parameter count
the number of 連続する SQL array elements to retrieve,
Parameter typeMap
the 地図/計画する 反対する that 含む/封じ込めるs the mapping of SQL type 指名するs to classes in the UNO programming language.
Returns
a ResultSet 反対する 含む/封じ込めるing up to count 連続した elements of the SQL array 指定するd by this Array 反対する, starting at 索引 索引.
Throws
SQLException if a database 接近 error occurs.
最高の,を越す 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.