List:Cluster« Previous MessageNext Message »
From:Jon Stephens Date:October 26 2009 6:37pm
Subject:Re: C API Examples
View as plain text  
Hartmut Holzgraefe wrote:
> Boehm, Matthew wrote:
>> To be clear for both the purposes of my inquiry and the official
>> documentation:
>>
>>  * using the NDB API (for example, to write a client program to access
>> data on the cluster) is only C++
>>  * using the Manger API (for example, to write a cluster monitoring
>> tool) is only C
>>
>> Correct?
> 
> correct
> 
> 
> 
http://dev.mysql.com/doc/ndbapi/en/ now says,

"Document generated on: 2009-10-25 (revision: 17311)

"This guide provides information for developers wishing to use: The 
low-level C++-language NDB API for the MySQL NDBCLUSTER storage engine; 
the C-language MGM API for communicating with and controlling MySQL 
Cluster management servers; and other APIs used with MySQL in the 
context of MySQL Cluster. ..."

(If you don't see that date or a later one and that revision number or a 
higher one when you view that page, try clearing your browser's cache. 
All MySQL documentation, including that relating to MySQL Cluster, uses 
a continuous-release model. The "generated on:" date should never be 
more than a day or so behind the current date. So when I say, "I've 
updated the documentation", you can generally take that to mean that the 
updates will appear online within 24 hours. Of course, sometimes we have 
a broken build or some other 'mechanical' issue, but barring such 
accidents, this is usually the case. You certainly don't have to wait 
for the next major release or anything like that.)

http://dev.mysql.com/doc/ndbapi/en/overview-ndb-api.html says (and has 
always said as best I can recall),

"The NDB API is an object-oriented application programming interface for 
MySQL Cluster that implements indexes, scans, transactions, and event 
handling. ..."

I don't really think it's necessary to state on every page that NDBAPI 
uses C++, as it seems to me that the fact that the NDBAPI is presented 
consistently in terms of classes/objects/'object-oriented' throughout 
the documentation means "C++, not C", but if anyone thinks there are 
instances where confusion might reasonably arise, please feel free to 
point them out to me, and I'll modify them accordingly.

Thanks!

jon.

-- 


Jon Stephens - jon.stephens@stripped
Technical Writer
MySQL Documentation Team
Sun Microsystems AB
MySQL and Software Infrastructure Group
Liljeholmen (Stockholm), Sweden
Summer: UTC +02.00 / Winter: UTC +01.00
Mobile: +46 (0) 736 773 993
Skype: plastic-fish
MySQL: www.mysql.com
Sun: www.sun.com

Thread
C API ExamplesMatthew Boehm23 Oct
  • Re: C API ExamplesGeert Vanderkelen24 Oct
    • Re: C API ExamplesJon Stephens24 Oct
      • RE: C API ExamplesMatthew Boehm26 Oct
        • Re: C API ExamplesHartmut Holzgraefe26 Oct
          • Re: C API ExamplesJon Stephens26 Oct