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 HPT4Clob
java.lang.Object
com.hp.t4jdbc.HPT4Lob
com.hp.t4jdbc.HPT4Clob
All Implemented Interfaces:
java.sql.Clob
public class HPT4Clob
extends HPT4Lob
implements java.sql.Clob
The HPT4Clob class implements the Clob for the SQL CLOB type. An SQL CLOB is a built-in type that stores a
Character Large Object as a column value in a row of a database table. By default drivers implement a Clob object
using an SQL locator(CLOB), which means that a Clob object contains a logical pointer to the SQL CLOB data rather
than the data itself.
The Clob interface provides methods for getting the length of an SQL CLOB (Character Large Object) value, for
materializing a CLOB value on the client, and for searching for a substring or CLOB object within a CLOB value. Methods
in the interfaces HPT4ResultSet, HPT4CallableStatement, and HPT4PreparedStatement, such as getClob and
setClob allow a programmer to access an SQL CLOB value. In addition, this interface has methods for updating a CLOB
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 getAsciiStream()
Retrieves the CLOB value designated by this Clob object as an ASCII stream.
java.io.Reader getCharacterStream()
Retrieves the CLOB value designated by this Clob object as a java.io.Reader object
(or as a stream of characters).
java.lang.String getSubString(long pos, int length)
Retrieves a copy of the specified substring in the CLOB value designated by this Clob