Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

2.3.10 The List Class

This section provides information about the List class.

Parent class


Child classes

Element (structure)


The List class is a Dictionary subclass that is used for representing lists populated by the methods Dictionary::listObjects(), Dictionary::listIndexes(), and Dictionary::listEvents().


This class has only two methods, a constructor and a destructor. Neither method takes any arguments.

Calling the constructor creates a new List whose count and elements attributes are both set equal to 0.

The destructor (~List()) is simply defined in such a way as to remove all elements and their properties. You can find its definition in the file /storage/ndb/include/ndbapi/NdbDictionary.hpp.


A List has the following two attributes:


The List class also defines the Element structure.