Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual 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


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
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.