Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

2.3.4.22 Dictionary::getDatafile()

Description.  This method is used to retrieve a Datafile object, given the node ID of the data node where a datafile is located and the path to the datafile on that node's file system.

Signature. 

Datafile getDatafile
    (
      Uint32      nodeId,
      const char* path
    )

Parameters.  This method must be invoked using two arguments, as shown here:

  • The 32-bit unsigned integer nodeId of the data node where the datafile is located

  • The path to the datafile on the node's file system (string as character pointer)

Return value.  A Datafile object—see Section 2.3.3, “The Datafile Class”, for details.


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.