MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NdbColumnImpl Class Reference

#include <NdbDictionaryImpl.hpp>

Inheritance diagram for NdbColumnImpl:
Collaboration diagram for NdbColumnImpl:

Public Member Functions

 NdbColumnImpl ()
 NdbColumnImpl (NdbDictionary::Column &)
NdbColumnImploperator= (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 TablegetBlobTable () 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_INFOgetCharset () 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 NdbColumnImplgetImpl (NdbDictionary::Column &t)
static const NdbColumnImplgetImpl (const NdbDictionary::Column &t)
static void create_pseudo_columns ()
static void destory_pseudo_columns ()
static NdbDictionary::Columncreate_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_INFOm_cs
bool m_pk
bool m_distributionKey
bool m_nullable
bool m_autoIncrement
Uint64 m_autoIncrementInitialValue
UtilBuffer m_defaultValue
NdbTableImplm_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::Columnm_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 ColumnFRAGMENT = 0
static const ColumnFRAGMENT_FIXED_MEMORY = 0
static const ColumnFRAGMENT_VARSIZED_MEMORY = 0
static const ColumnROW_COUNT = 0
static const ColumnCOMMIT_COUNT = 0
static const ColumnROW_SIZE = 0
static const ColumnRANGE_NO = 0
static const ColumnDISK_REF = 0
static const ColumnRECORDS_IN_RANGE = 0
static const ColumnROWID = 0
static const ColumnROW_GCI = 0
static const ColumnROW_GCI64 = 0
static const ColumnROW_AUTHOR = 0
static const ColumnANY_VALUE = 0
static const ColumnCOPY_ROWID = 0
static const ColumnLOCK_REF = 0
static const ColumnOP_ID = 0
static const ColumnOPTIMIZE = 0
static const ColumnFRAGMENT_EXTENT_SPACE = 0
static const ColumnFRAGMENT_FREE_EXTENT_SPACE = 0

Detailed Description

Column

Definition at line 75 of file NdbDictionaryImpl.hpp.

Constructor & Destructor Documentation

NdbColumnImpl::NdbColumnImpl ( )

Column

Definition at line 92 of file NdbDictionaryImpl.cpp.

Member Function Documentation

bool NdbColumnImpl::equal ( const NdbColumnImpl col) const

Equality/assign

Definition at line 303 of file NdbDictionaryImpl.cpp.

Here is the call graph for this function:

Member Data Documentation

Uint32 NdbColumnImpl::m_orgAttrSize

Internal types and sizes, and aggregates

Definition at line 109 of file NdbDictionaryImpl.hpp.


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