InfiniSQL
v0.1.2-alpha
Massive Scale Transaction Processing
|
#include <Field.h>
Public Member Functions | |
Field (fieldtype_e typearg, int64_t lengtharg, indextype_e indextypearg, std::string namearg) | |
virtual | ~Field () |
Public Attributes | |
fieldtype_e | type |
size_t | length |
indextype_e | indextype |
class Index | index |
std::string | name |
Friends | |
class | Transaction |
class | ApiInterface |
class | Table |
class | SubTransaction |
Field object.
typearg | type of field, such as INT, FLOAT, CHAR |
lengtharg | length of field–set to 0 unless CHARX field |
indextypearg | index type |
namearg | field name |
Field::Field | ( | fieldtype_e | typearg, |
int64_t | lengtharg, | ||
indextype_e | indextypearg, | ||
std::string | namearg | ||
) |
@ create field
also create index object associated with field
typearg | field type |
lengtharg | length (for CHARX) |
indextypearg | index type |
namearg | field name |
Definition at line 31 of file Field.cc.
References index, indextype, Index::makeindex(), and type.
|
friend |
|
friend |
|
friend |
class Index Field::index |
Definition at line 68 of file Field.h.
Referenced by Transaction::continueCommitTransaction(), Transaction::continueSqlReplace(), Statement::continueUpdate(), and Field().
indextype_e Field::indextype |
Definition at line 67 of file Field.h.
Referenced by Statement::branchtotype(), Transaction::continueSqlReplace(), and Field().
size_t Field::length |
Definition at line 66 of file Field.h.
Referenced by Table::addfield(), Table::makerow(), and Table::unmakerow().
fieldtype_e Field::type |
Definition at line 65 of file Field.h.
Referenced by Transaction::continueCommitTransaction(), Transaction::continueSqlReplace(), Statement::continueUpdate(), Field(), Table::makerow(), Transaction::sqlPredicate(), and Table::unmakerow().