#include <NdbDictionary.hpp>
Inheritance diagram for NdbDictionary::Datafile:


Public Member Functions | |
| Datafile () | |
| Datafile (const Datafile &) | |
| virtual | ~Datafile () |
| void | setPath (const char *name) |
| const char * | getPath () const |
| void | setSize (Uint64) |
| Uint64 | getSize () const |
| Uint64 | getFree () const |
| void | setTablespace (const char *name) |
| void | setTablespace (const class Tablespace &) |
| const char * | getTablespace () const |
| void | getTablespaceId (ObjectId *dst) const |
| void | setNode (Uint32 nodeId) |
| Uint32 | getNode () const |
| Uint32 | getFileNo () const |
| virtual Object::Status | getObjectStatus () const |
| virtual int | getObjectVersion () const |
| virtual int | getObjectId () const |
Private Member Functions | |
| Datafile (NdbDatafileImpl &) | |
Private Attributes | |
| NdbDatafileImpl & | m_impl |
Friends | |
| class | NdbDatafileImpl |
Definition at line 1461 of file NdbDictionary.hpp.
| NdbDictionary::Datafile::Datafile | ( | ) |
Definition at line 1172 of file NdbDictionary.cpp.
01173 : m_impl(* new NdbDatafileImpl(* this)) 01174 { 01175 }
| NdbDictionary::Datafile::Datafile | ( | const Datafile & | ) |
Definition at line 1182 of file NdbDictionary.cpp.
References NdbDatafileImpl::assign(), and m_impl.
01183 : Object(org), m_impl(* new NdbDatafileImpl(* this)) 01184 { 01185 m_impl.assign(org.m_impl); 01186 }
Here is the call graph for this function:

| NdbDictionary::Datafile::~Datafile | ( | ) | [virtual] |
Definition at line 1188 of file NdbDictionary.cpp.
References m_impl.
01188 { 01189 NdbDatafileImpl * tmp = &m_impl; 01190 if(this != tmp){ 01191 delete tmp; 01192 } 01193 }
| NdbDictionary::Datafile::Datafile | ( | NdbDatafileImpl & | ) | [private] |
| Uint32 NdbDictionary::Datafile::getFileNo | ( | ) | const |
| Uint64 NdbDictionary::Datafile::getFree | ( | ) | const |
| Uint32 NdbDictionary::Datafile::getNode | ( | ) | const |
| int NdbDictionary::Datafile::getObjectId | ( | ) | const [virtual] |
Get object id
Implements NdbDictionary::Object.
Definition at line 1260 of file NdbDictionary.cpp.
References NdbDictObjectImpl::m_id, and m_impl.
| NdbDictionary::Object::Status NdbDictionary::Datafile::getObjectStatus | ( | ) | const [virtual] |
Get object status
Implements NdbDictionary::Object.
Definition at line 1250 of file NdbDictionary.cpp.
References m_impl, and NdbDictObjectImpl::m_status.
| int NdbDictionary::Datafile::getObjectVersion | ( | ) | const [virtual] |
Get object version
Implements NdbDictionary::Object.
Definition at line 1255 of file NdbDictionary.cpp.
References m_impl, and NdbDictObjectImpl::m_version.
| const char * NdbDictionary::Datafile::getPath | ( | ) | const |
Definition at line 1201 of file NdbDictionary.cpp.
References BaseString::c_str(), m_impl, and NdbFileImpl::m_path.
Referenced by BackupRestore::object().
Here is the call graph for this function:

Here is the caller graph for this function:

| Uint64 NdbDictionary::Datafile::getSize | ( | ) | const |
| const char * NdbDictionary::Datafile::getTablespace | ( | ) | const |
Definition at line 1235 of file NdbDictionary.cpp.
References BaseString::c_str(), NdbFileImpl::m_filegroup_name, and m_impl.
01235 { 01236 return m_impl.m_filegroup_name.c_str(); 01237 }
Here is the call graph for this function:

| void NdbDictionary::Datafile::getTablespaceId | ( | ObjectId * | dst | ) | const |
Definition at line 1240 of file NdbDictionary.cpp.
References NdbDictObjectImpl::getImpl(), NdbFileImpl::m_filegroup_id, NdbFileImpl::m_filegroup_version, NdbDictObjectImpl::m_id, m_impl, and NdbDictObjectImpl::m_version.
Referenced by BackupRestore::object().
01241 { 01242 if (dst) 01243 { 01244 NdbDictObjectImpl::getImpl(* dst).m_id = m_impl.m_filegroup_id; 01245 NdbDictObjectImpl::getImpl(* dst).m_version = m_impl.m_filegroup_version; 01246 } 01247 }
Here is the call graph for this function:

Here is the caller graph for this function:

| void NdbDictionary::Datafile::setNode | ( | Uint32 | nodeId | ) |
| void NdbDictionary::Datafile::setPath | ( | const char * | name | ) |
Definition at line 1196 of file NdbDictionary.cpp.
References BaseString::assign(), m_impl, and NdbFileImpl::m_path.
Here is the call graph for this function:

| void NdbDictionary::Datafile::setSize | ( | Uint64 | ) |
| void NdbDictionary::Datafile::setTablespace | ( | const class Tablespace & | ) |
| void NdbDictionary::Datafile::setTablespace | ( | const char * | name | ) |
Definition at line 1221 of file NdbDictionary.cpp.
References BaseString::assign(), NdbFileImpl::m_filegroup_id, NdbFileImpl::m_filegroup_name, NdbFileImpl::m_filegroup_version, and m_impl.
Referenced by BackupRestore::object().
01221 { 01222 m_impl.m_filegroup_id = ~0; 01223 m_impl.m_filegroup_version = ~0; 01224 m_impl.m_filegroup_name.assign(tablespace); 01225 }
Here is the call graph for this function:

Here is the caller graph for this function:

friend class NdbDatafileImpl [friend] |
Definition at line 1500 of file NdbDictionary.hpp.
class NdbDatafileImpl& NdbDictionary::Datafile::m_impl [private] |
Definition at line 1501 of file NdbDictionary.hpp.
Referenced by Datafile(), getFree(), NdbDatafileImpl::getImpl(), getObjectId(), getObjectStatus(), getObjectVersion(), getPath(), getSize(), getTablespace(), getTablespaceId(), setPath(), setSize(), setTablespace(), and ~Datafile().
1.4.7

