Neoview JDBC Type 4 Driver API Reference (R2.2, R2.3, R2.4, R2.5)

Package Class Tree Deprecated Index Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD
com.hp.t4jdbc
Class HPT4Blob
java.lang.Object
com.hp.t4jdbc.HPT4Lob
com.hp.t4jdbc.HPT4Blob
All Implemented Interfaces:
java.sql.Blob
public class HPT4Blob
extends HPT4Lob
implements java.sql.Blob
The HPT4Blob class implements the Blob interface for the SQL BLOB type. An SQL BLOB is a built-in type that stores a
Binary Large Object as a column value in a row of a database table. By default, drivers implement Blob using an SQL
locator(BLOB), which means that a Blob object contains a logical pointer to the SQL BLOB data rather than the data
itself. A Blob object is valid for the duration of the transaction in which is was created.
Methods in the interfaces HPT4ResultSet, HPT4CallableStatement, and HPT4PreparedStatement, such as getBlob
and setBlob allow a programmer to access an SQL BLOB value. The Blob interface provides methods for getting the
length of an SQL BLOB (Binary Large Object) value, for materializing a BLOB value on the client, and for determining
the position of a pattern of bytes within a BLOB value. In addition, this interface has methods for updating a BLOB value.
Copyright: (C) Copyright 2004-2007 Hewlett-Packard Development Company, L.P.
Field Summary
Fields inherited from class com.hp.t4jdbc.
HPT4Lob
MAX_LOB_BATCHED_ROWS
Method Summary
java.io.InputStream getBinaryStream()
Retrieves the BLOB value designated by this Blob instance as a stream.
byte[] getBytes(long pos, int length)
Retrieves all or part of the BLOB value that this Blob object represents, as an array of
bytes.
long position(java.sql.Blob pattern, long start)
Retrieves the byte position in the BLOB value designated by this Blob object at which
pattern begins.