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

Classes

struct  Attr

Public Types

enum  RecFlags {
  RecIsKeyRecord = 0x1, RecHasAllKeys = 0x2, RecIsIndex = 0x4, RecHasBlob = 0x8,
  RecTableHasBlob = 0x10, RecIsDefaultRec = 0x20, RecHasUserDefinedPartitioning = 0x40
}
enum  ColFlags {
  IsKey = 0x1, IsDisk = 0x2, IsNullable = 0x04, IsVar1ByteLen = 0x08,
  IsVar2ByteLen = 0x10, IsDistributionKey = 0x20, IsBlob = 0x40, IsMysqldShrinkVarchar = 0x80,
  IsMysqldBitfield = 0x100
}

Public Member Functions

void copyMask (Uint32 *dst, const unsigned char *src) const
void clearMask (Uint32 *dst) const

Public Attributes

const NdbTableImpltable
Uint32 tableId
Uint32 tableVersion
Uint32 m_keyLenInWords
Uint32 m_max_transid_ai_bytes
Uint32 m_no_of_distribution_keys
Uint32 flags
Uint32 m_row_size
const Uint32 * key_indexes
Uint32 key_index_length
const Uint32 * distkey_indexes
Uint32 distkey_index_length
const int * m_attrId_indexes
Uint32 m_attrId_indexes_length
Uint32 m_min_distkey_prefix_length
Uint32 noOfColumns
struct Attr columns [1]

Detailed Description

Definition at line 22 of file NdbRecord.hpp.

Member Data Documentation

const int* NdbRecord::m_attrId_indexes

Array mapping an attribute Id into the corresponding index into the columns[] array, useful for looking up a column by attribute id.

If the column is not included in the NdbRecord, the value is -1.

Definition at line 232 of file NdbRecord.hpp.

Uint32 NdbRecord::m_no_of_distribution_keys

Number of distribution keys (usually == number of primary keys).

For an index NdbRecord, this is zero if the index does not include all of the distribution keys in the table.

Definition at line 200 of file NdbRecord.hpp.


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