MySQL 5.6.14 Source Code Document
|
#include <NdbDictionaryImpl.hpp>
Public Member Functions | |
NdbColumnImpl () | |
NdbColumnImpl (NdbDictionary::Column &) | |
NdbColumnImpl & | operator= (const NdbColumnImpl &) |
void | init (Type t=Unsigned) |
bool | getInterpretableType () const |
bool | getCharType () const |
bool | getStringType () const |
bool | getBlobType () const |
int | getBlobVersion () const |
void | setBlobVersion (int blobVersion) |
bool | equal (const NdbColumnImpl &) const |
bool | get_var_length (const void *value, Uint32 &len) const |
Public Member Functions inherited from NdbDictionary::Column | |
int | setDefaultValue (const char *) |
int | setDefaultValue (const void *buf, unsigned int len) |
const void * | getDefaultValue (unsigned int *len=0) const |
const Table * | getBlobTable () const |
void | setAutoIncrement (bool) |
bool | getAutoIncrement () const |
void | setAutoIncrementInitialValue (Uint64 val) |
int | getSizeInBytes () const |
int | isBindable (const Column &) const |
const char * | getName () const |
bool | getNullable () const |
bool | getPrimaryKey () const |
int | getColumnNo () const |
int | getAttrId () const |
bool | equal (const Column &column) const |
Type | getType () const |
int | getPrecision () const |
int | getScale () const |
int | getLength () const |
CHARSET_INFO * | getCharset () const |
int | getCharsetNumber () const |
int | getInlineSize () const |
int | getPartSize () const |
int | getStripeSize () const |
int | getSize () const |
bool | getPartitionKey () const |
bool | getDistributionKey () const |
ArrayType | getArrayType () const |
StorageType | getStorageType () const |
bool | getDynamic () const |
bool | getIndexSourced () const |
Column (const char *name="") | |
Column (const Column &column) | |
~Column () | |
int | setName (const char *name) |
void | setNullable (bool) |
void | setPrimaryKey (bool) |
void | setType (Type type) |
void | setPrecision (int) |
void | setScale (int) |
void | setLength (int length) |
void | setCharset (CHARSET_INFO *cs) |
void | setInlineSize (int size) |
void | setPartSize (int size) |
void | setStripeSize (int size) |
void | setPartitionKey (bool enable) |
void | setDistributionKey (bool enable) |
void | setArrayType (ArrayType type) |
void | setStorageType (StorageType type) |
void | setDynamic (bool) |
Static Public Member Functions | |
static NdbColumnImpl & | getImpl (NdbDictionary::Column &t) |
static const NdbColumnImpl & | getImpl (const NdbDictionary::Column &t) |
static void | create_pseudo_columns () |
static void | destory_pseudo_columns () |
static NdbDictionary::Column * | create_pseudo (const char *) |
Public Attributes | |
int | m_attrId |
BaseString | m_name |
NdbDictionary::Column::Type | m_type |
int | m_precision |
int | m_scale |
int | m_length |
int | m_column_no |
CHARSET_INFO * | m_cs |
bool | m_pk |
bool | m_distributionKey |
bool | m_nullable |
bool | m_autoIncrement |
Uint64 | m_autoIncrementInitialValue |
UtilBuffer | m_defaultValue |
NdbTableImpl * | m_blobTable |
Uint32 | m_orgAttrSize |
Uint32 | m_attrSize |
Uint32 | m_arraySize |
Uint32 | m_arrayType |
Uint32 | m_storageType |
bool | m_dynamic |
bool | m_indexSourced |
Uint32 | m_keyInfoPos |
int | m_blobVersion |
NdbDictionary::Column * | m_facade |
Additional Inherited Members | |
Public Types inherited from NdbDictionary::Column | |
enum | Type { Undefined = NDB_TYPE_UNDEFINED, Tinyint = NDB_TYPE_TINYINT, Tinyunsigned = NDB_TYPE_TINYUNSIGNED, Smallint = NDB_TYPE_SMALLINT, Smallunsigned = NDB_TYPE_SMALLUNSIGNED, Mediumint = NDB_TYPE_MEDIUMINT, Mediumunsigned = NDB_TYPE_MEDIUMUNSIGNED, Int = NDB_TYPE_INT, Unsigned = NDB_TYPE_UNSIGNED, Bigint = NDB_TYPE_BIGINT, Bigunsigned = NDB_TYPE_BIGUNSIGNED, Float = NDB_TYPE_FLOAT, Double = NDB_TYPE_DOUBLE, Olddecimal = NDB_TYPE_OLDDECIMAL, Olddecimalunsigned = NDB_TYPE_OLDDECIMALUNSIGNED, Decimal = NDB_TYPE_DECIMAL, Decimalunsigned = NDB_TYPE_DECIMALUNSIGNED, Char = NDB_TYPE_CHAR, Varchar = NDB_TYPE_VARCHAR, Binary = NDB_TYPE_BINARY, Varbinary = NDB_TYPE_VARBINARY, Datetime = NDB_TYPE_DATETIME, Date = NDB_TYPE_DATE, Blob = NDB_TYPE_BLOB, Text = NDB_TYPE_TEXT, Bit = NDB_TYPE_BIT, Longvarchar = NDB_TYPE_LONGVARCHAR, Longvarbinary = NDB_TYPE_LONGVARBINARY, Time = NDB_TYPE_TIME, Year = NDB_TYPE_YEAR, Timestamp = NDB_TYPE_TIMESTAMP } |
enum | ArrayType { ArrayTypeFixed = NDB_ARRAYTYPE_FIXED, ArrayTypeShortVar = NDB_ARRAYTYPE_SHORT_VAR, ArrayTypeMediumVar = NDB_ARRAYTYPE_MEDIUM_VAR } |
enum | StorageType { StorageTypeMemory = NDB_STORAGETYPE_MEMORY, StorageTypeDisk = NDB_STORAGETYPE_DISK, StorageTypeDefault = NDB_STORAGETYPE_DEFAULT } |
Static Public Attributes inherited from NdbDictionary::Column | |
static const Column * | FRAGMENT = 0 |
static const Column * | FRAGMENT_FIXED_MEMORY = 0 |
static const Column * | FRAGMENT_VARSIZED_MEMORY = 0 |
static const Column * | ROW_COUNT = 0 |
static const Column * | COMMIT_COUNT = 0 |
static const Column * | ROW_SIZE = 0 |
static const Column * | RANGE_NO = 0 |
static const Column * | DISK_REF = 0 |
static const Column * | RECORDS_IN_RANGE = 0 |
static const Column * | ROWID = 0 |
static const Column * | ROW_GCI = 0 |
static const Column * | ROW_GCI64 = 0 |
static const Column * | ROW_AUTHOR = 0 |
static const Column * | ANY_VALUE = 0 |
static const Column * | COPY_ROWID = 0 |
static const Column * | LOCK_REF = 0 |
static const Column * | OP_ID = 0 |
static const Column * | OPTIMIZE = 0 |
static const Column * | FRAGMENT_EXTENT_SPACE = 0 |
static const Column * | FRAGMENT_FREE_EXTENT_SPACE = 0 |
Column
Definition at line 75 of file NdbDictionaryImpl.hpp.
NdbColumnImpl::NdbColumnImpl | ( | ) |
Column
Definition at line 92 of file NdbDictionaryImpl.cpp.
bool NdbColumnImpl::equal | ( | const NdbColumnImpl & | col | ) | const |
Equality/assign
Definition at line 303 of file NdbDictionaryImpl.cpp.
Uint32 NdbColumnImpl::m_orgAttrSize |
Internal types and sizes, and aggregates
Definition at line 109 of file NdbDictionaryImpl.hpp.