Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

2.3.25.4 NdbOperation::getBlobHandle()

Description.  This method is used in place of getValue() or setValue() for blob attributes. It creates a blob handle (NdbBlob object). A second call with the same argument returns the previously created handle. The handle is linked to the operation and is maintained automatically.

Signature.  This method has two forms, depending on whether it is called with the name or the ID of the blob attribute:

virtual NdbBlob* getBlobHandle
    (
      const char* name
    )

or

virtual NdbBlob* getBlobHandle
    (
      Uint32 id
    )

Parameters.  This method takes a single parameter, which can be either one of the following:

  • The name of the attribute

  • The id of the attribute

Return value.  Regardless of parameter type used, this method return a pointer to an instance of NdbBlob.


User Comments
Sign Up Login You must be logged in to post a comment.