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


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.