Class IDADBClobDO

This class supports handling and manipulating Double-Byte Character Large Objects (DBCLOBs) in databases. Large object data access is supported only for DB2 database mappings.


Hierarchy

Inherits from:

IDABase
 |
 +----IDALobDO
       |
       +----IDADBClobDO

Public Functions by Category

Constructors

IDADBClobDO

public:
IDADBClobDO();
IDADBClobDO( const IDatastoreDB2 &dsm );
IDADBClobDO( const IString& aString,
             const IDatastoreDB2 &dsm );
IDADBClobDO( const IDADBClobLocator &loc );
Supported Platforms
Windows OS/2 AIX
Y Y Y

Sub-DBCLOB

subDBClobDO

public:
IDADBClobDO subDBClobDO( unsigned long startpos,
                         unsigned long length ) const;

Use this method to return an IDADBClobDO object containing the specified portion of the current IDADBClobDO object. To specify the portion, pass in a start position (where the first byte is numbered 1) and a length (in bytes).

Supported Platforms
Windows OS/2 AIX
Y Y Y

Public Operators

+

public:
IDADBClobDO operator+( const IDADBClobDO& aLob ) const;
IDADBClobDO operator+( const IString& aString ) const;
friend IDADBClobDO operator+( const IString& aString,
                              const IDADBClobDO& aLob );

Use this operator to add two DBCLOBs together, a DBCLOB and a string, or a string and a DBCLOB.

Supported Platforms
Windows OS/2 AIX
Y Y Y

Protected Functions

getLocator

protected:
IDALocator& getLocator() const;

Use this method to return the locator pointing to the LOB, if it is on the server. Warning: If you use this locator to manipulate the LOB, none of the provided Data Access class library methods will be able to access the object.

Supported Platforms
Windows OS/2 AIX
Y Y Y

Inherited Members

Inherited from IDALobDO:

Public Functions