Documentation Home
MySQL Cluster API Developer Guide
Download this Manual
PDF (US Ltr) - 4.8Mb
PDF (A4) - 4.8Mb
EPUB - 1.9Mb
HTML Download (TGZ) - 1.8Mb
HTML Download (Zip) - 1.9Mb


2.3.5 The Element Structure

Abstract

This section discusses the Element structure.

Parent class. List

Description. The Element structure models an element of a list; it is used to store an object in a List populated by the Dictionary methods listObjects(), listIndexes(), and listEvents().

Attributes. An Element has the attributes shown in the following table:

Attribute Type Initial Value Description
id unsigned int 0 The object's ID
type Object::Type Object::TypeUndefined The object's type—see Section 2.3.31.1.5, “The Object::Type Type” for possible values
state Object::State Object::StateUndefined The object's state—see Section 2.3.31.1.2, “The Object::State Type” for possible values
store Object::Store Object::StoreUndefined How the object is stored—see Section 2.3.31.1.4, “The Object::Store Type” for possible values
database char* 0 The database in which the object is found
schema char* 0 The schema in which the object is found
name char* 0 The object's name
Note

For a graphical representation of this class and its parent-child relationships, see Section 2.3.4, “The Dictionary Class”.


User Comments
Sign Up Login You must be logged in to post a comment.