</p> <p> Methodsintheinterfaces com::sun::star::sdbc::XResultSet , and com::sun::star::sdbc::XPreparedStatement ,suchas <code>getBlob</code> and <code>setBlob</code> allowaprogrammertoaccesstheSQL <i>BLOB</i>. <br/> The <code>Blob</code> interfaceprovidesmethodsforgettingthelengthofaSQL <i> BLOB </i> (BinaryLargeObject)value,formaterializinga <i> BLOB </i> valueontheclientandfordeterminingthepositionofapatternofbyteswithina <i> BLOB </i> value. </p>
*/
published interface XBlob: com::sun::star::uno::XInterface
{
/** returns the number of bytes in the <i> BLOB </i> value designatedbythis <code>Blob</code> object. @returns thelength @throwsSQLException ifadatabaseaccesserroroccurs.
*/
hyper length() raises (SQLException);
/** returns as an array of bytes part or all of the <i> BLOB </i> valuethatthis <code>Blob</code> objectdesignates.Thebyte arraycontainsupto <code>length</code> consecutivebytes startingatposition <code>pos</code>. @parampos istheordinalpositionofthefirstbyteinthe <i> BLOB </i> valuetobeextracted;thefirstbyteisat position1. @paramlength isthenumberofconsecutivebytestobecopied. @returns abytearraycontainingupto <code>length</code> consecutivebytesfromthe <i> BLOB </i> valuedesignated bythis <code>Blob</code> object,startingwiththebyteatposition <code>pos</code>. @throwsSQLException ifthereisanerroraccessingthe<i>BLOB</i>.
*/
sequence<byte> getBytes([in]hyper pos, [in]long length)
raises (SQLException);
/** determines the byte position at which the specified byte <code>pattern</code> beginswithinthe <i> BLOB </i> valuethatthis <code>Blob</code> objectrepresents.The searchfor <code>pattern</code> beginsatposition<code>start</code>.
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.