MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NDBT_Table Class Reference
Inheritance diagram for NDBT_Table:
Collaboration diagram for NDBT_Table:

Public Member Functions

 NDBT_Table (const char *name, int noOfAttributes, const NdbDictionary::Column attributes[])
 NDBT_Table (const char *name, int noOfAttributes, NdbDictionary::Column *attributePtrs[])
- Public Member Functions inherited from NdbDictionary::Table
void setRowGCIIndicator (bool value)
bool getRowGCIIndicator () const
void setRowChecksumIndicator (bool value)
bool getRowChecksumIndicator () const
const char * getMysqlName () const
void setStoredTable (bool x)
bool getStoredTable () const
int getRowSizeInBytes () const
int createTableInDb (Ndb *, bool existingEqualIsOk=true) const
int getReplicaCount () const
bool getTemporary () const
void setTemporary (bool)
bool getForceVarPart () const
void setForceVarPart (bool)
int checkColumns (const Uint32 *bitmap, unsigned len_in_bytes) const
void assignObjId (const ObjectId &)
void setStorageType (Column::StorageType)
Column::StorageType getStorageType () const
void setExtraRowGciBits (Uint32)
Uint32 getExtraRowGciBits () const
void setExtraRowAuthorBits (Uint32)
Uint32 getExtraRowAuthorBits () const
int aggregate (struct NdbError &error)
int validate (struct NdbError &error)
Uint32 getPartitionId (Uint32 hashvalue) const
bool hasDefaultValues () const
const char * getName () const
int getTableId () const
const ColumngetColumn (const char *name) const
ColumngetColumn (const int attributeId)
ColumngetColumn (const char *name)
const ColumngetColumn (const int attributeId) const
bool getLogging () const
FragmentType getFragmentType () const
int getKValue () const
int getMinLoadFactor () const
int getMaxLoadFactor () const
int getNoOfColumns () const
int getNoOfAutoIncrementColumns () const
int getNoOfPrimaryKeys () const
const char * getPrimaryKey (int no) const
bool equal (const Table &) const
const void * getFrmData () const
Uint32 getFrmLength () const
const NdbRecordgetDefaultRecord () const
 Table (const char *name="")
 Table (const Table &table)
virtual ~Table ()
Tableoperator= (const Table &table)
int setName (const char *name)
int addColumn (const Column &)
void setLogging (bool)
void setLinearFlag (Uint32 flag)
bool getLinearFlag () const
void setFragmentCount (Uint32)
Uint32 getFragmentCount () const
void setFragmentType (FragmentType)
void setKValue (int kValue)
void setMinLoadFactor (int)
void setMaxLoadFactor (int)
int setTablespaceName (const char *name)
const char * getTablespaceName () const
int setTablespace (const class Tablespace &)
bool getTablespace (Uint32 *id=0, Uint32 *version=0) const
bool getHashMap (Uint32 *id=0, Uint32 *version=0) const
int setHashMap (const class HashMap &)
Object::Type getObjectType () const
virtual Object::Status getObjectStatus () const
void setStatusInvalid () const
virtual int getObjectVersion () const
void setDefaultNoPartitionsFlag (Uint32 indicator)
Uint32 getDefaultNoPartitionsFlag () const
virtual int getObjectId () const
int setFrm (const void *data, Uint32 len)
int setFragmentData (const Uint32 *nodegroups, Uint32 cnt)
const Uint32 * getFragmentData () const
Uint32 getFragmentDataLen () const
int setRangeListData (const Int32 *data, Uint32 cnt)
const Int32 * getRangeListData () const
Uint32 getRangeListDataLen () const
Uint32 getFragmentNodes (Uint32 fragmentId, Uint32 *nodeIdArrayPtr, Uint32 arraySize) const
void setObjectType (Object::Type type)
void setMaxRows (Uint64 maxRows)
Uint64 getMaxRows () const
void setMinRows (Uint64 minRows)
Uint64 getMinRows () const
void setSingleUserMode (enum SingleUserMode)
enum SingleUserMode getSingleUserMode () const

Static Public Member Functions

static const NdbDictionary::TablediscoverTableFromDb (Ndb *ndb, const char *name)

Friends

class NdbOut & operator<< (class NdbOut &, const NDBT_Table &)

Additional Inherited Members

- Public Types inherited from NdbDictionary::Table
enum  SingleUserMode { SingleUserModeLocked = NDB_SUM_LOCKED, SingleUserModeReadOnly = NDB_SUM_READONLY, SingleUserModeReadWrite = NDB_SUM_READ_WRITE }

Detailed Description

Definition at line 56 of file NDBT_Table.hpp.

Friends And Related Function Documentation

class NdbOut& operator<< ( class NdbOut &  ndbout,
const NDBT_Table tab 
)
friend

Print meta information about table (information on how it is strored, what the attributes look like etc.)

Definition at line 24 of file NDBT_Table.cpp.


The documentation for this class was generated from the following file: