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

翻訳前ページへ


Interface XBlob
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

interface XBlob
Description
is the 代表 (mapping) of an SQL BLOB .

A SQL BLOB is a built-in type that 蓄える/店s a Binary Large 反対する as a column value in a 列/漕ぐ/騒動 of a database (米)棚上げする/(英)提議する. The driver 器具/実施するs BLOB using a SQL locator(BLOB) , which means that a Blob 反対する 含む/封じ込めるs a 論理(学)の pointer to the SQL BLOB data rather than the data itself.
A Blob 反対する is valid for the duration of the 処理/取引 in which is was created.

Methods in the interfaces XResultSet , and XPreparedStatement , such as getBlob and setBlob 許す a programmer to 接近 the SQL BLOB .
The Blob interface 供給するs methods for getting the length of a SQL BLOB (Binary Large 反対する) value, for materializing a BLOB value on the (弁護士の)依頼人 and for 決定するing the position of a pattern of bytes within a BLOB value.


Methods' 要約
length returns the number of bytes in the BLOB value 指定するd by this Blob 反対する.  
getBytes returns as an array of bytes part or all of the BLOB value that this Blob 反対する 指定するs. The byte array 含む/封じ込めるs up to length 連続した bytes starting at position pos.  
getBinaryStream retrieves the BLOB 指定するd by this Blob instance as a stream.  
position 決定するs the byte position at which the 明示するd byte pattern begins within the BLOB value that this Blob 反対する 代表するs. The search for pattern begins at position start .  
positionOfBlob 決定するs the byte position in the BLOB value 指定するd by this Blob 反対する at which pattern begins. The search begins at position start .  
Methods' 詳細(に述べる)s
length
hyper
length()
raises( SQLException );

Description
returns the number of bytes in the BLOB value 指定するd by this Blob 反対する.
Returns
the length
Throws
SQLException if a database 接近 error occurs.
getBytes
sequence< byte >
getBytes( [in] hyper  pos,
[in] long  length )
raises( SQLException );

Description
returns as an array of bytes part or all of the BLOB value that this Blob 反対する 指定するs. The byte array 含む/封じ込めるs up to length 連続した bytes starting at position pos.
Parameter pos
is the ordinal position of the first byte in the BLOB value to be 抽出するd; the first byte is at position 1.
Parameter length
is the number of 連続した bytes to be copied.
Returns
a byte array 含む/封じ込めるing up to length 連続した bytes from the BLOB value 指定するd by this Blob 反対する, starting with the byte at position pos .
Throws
SQLException if there is an error 接近ing the BLOB .
getBinaryStream
::com::sun::星/主役にする::io::XInputStream
getBinaryStream()
raises( SQLException );

Description
retrieves the BLOB 指定するd by this Blob instance as a stream.
Returns
the stream
Throws
SQLException if a database 接近 error occurs.
position
hyper
position( [in] sequence< byte >  pattern,
[in] hyper  start )
raises( SQLException );

Description
決定するs the byte position at which the 明示するd byte pattern begins within the BLOB value that this Blob 反対する 代表するs. The search for pattern begins at position start .
Parameter pattern
the pattern to search
Returns
the position
Throws
SQLException if a database 接近 error occurs.
positionOfBlob
hyper
positionOfBlob( [in] XBlob  pattern,
[in] hyper  start )
raises( SQLException );

Description
決定するs the byte position in the BLOB value 指定するd by this Blob 反対する at which pattern begins. The search begins at position start .
Parameter pattern
the pattern to search
Parameter start
position to start
Returns
the position
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.