Class IDABlobDO

This class supports handling and manipulating Binary Large Objects (BLOBs) in databases. Large object data access is supported only for DB2 database mappings.


Hierarchy

Inherits from:

IDABase
 |
 +----IDALobDO
       |
       +----IDABlobDO

Public Functions by Category

Constructors

IDABlobDO

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

Sub-BLOB

subBlobDO

public:
IDABlobDO subBlobDO( unsigned long startpos,
                     unsigned long length ) const;

Use this method to return an IDABlobDO object containing the specified portion of the current IDABlobDO 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:
IDABlobDO operator+( const IDABlobDO& aLob ) const;
IDABlobDO operator+( const IString& aString ) const;
friend IDABlobDO operator+( const IString& aString,
                            const IDABlobDO& aLob );

Use this operator to add two BLOBs together, a BLOB and a string, or a string and a BLOB.

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