#include <NdbDictionary.hpp>
| int NdbDictionary::Dictionary::listObjects | ( | List & | list, | |
| Object::Type | type = Object::TypeUndefined | |||
| ) |
Fetch list of all objects, optionally restricted to given type.
| list | List of objects returned in the dictionary | |
| type | Restrict returned list to only contain objects of this type |
| struct NdbError& NdbDictionary::Dictionary::getNdbError | ( | ) | const [read] |
Get the latest error
| const Table* NdbDictionary::Dictionary::getTable | ( | const char * | name | ) | const |
Get table with given name, NULL if undefined
| name | Name of table to get |
| const Index* NdbDictionary::Dictionary::getIndex | ( | const char * | indexName, | |
| const char * | tableName | |||
| ) | const |
Get index with given name, NULL if undefined
| indexName | Name of index to get. | |
| tableName | Name of table that index belongs to. |
| const Index* NdbDictionary::Dictionary::getIndex | ( | const char * | indexName, | |
| const Table & | table | |||
| ) | const |
Get index with given name, NULL if undefined
| indexName | Name of index to get. | |
| Table | instance table that index belongs to. |
| int NdbDictionary::Dictionary::listIndexes | ( | List & | list, | |
| const char * | tableName | |||
| ) |
Fetch list of indexes of given table.
| list | Reference to list where to store the listed indexes | |
| tableName | Name of table that index belongs to. |
| int NdbDictionary::Dictionary::createTable | ( | const Table & | table | ) |
| int NdbDictionary::Dictionary::dropTable | ( | Table & | table | ) |
| int NdbDictionary::Dictionary::dropTable | ( | const char * | name | ) |
Drop table given table name
| name | Name of table to drop |
| void NdbDictionary::Dictionary::removeCachedTable | ( | const char * | table | ) |
Remove table from local cache
| void NdbDictionary::Dictionary::removeCachedIndex | ( | const char * | index, | |
| const char * | table | |||
| ) |
Remove index from local cache
| int NdbDictionary::Dictionary::createIndex | ( | const Index & | index | ) |
| int NdbDictionary::Dictionary::dropIndex | ( | const char * | indexName, | |
| const char * | tableName | |||
| ) |
Drop index with given name
| indexName | Name of index to drop. | |
| tableName | Name of table that index belongs to. |
| int NdbDictionary::Dictionary::dropIndex | ( | const Index & | ) |