InfiniSQL
v0.1.2-alpha
Massive Scale Transaction Processing
|
create INDEX object More...
#include <Index.h>
Public Member Functions | |
Index () | |
virtual | ~Index () |
void | makeindex (indextype_e indextypearg, fieldtype_e fieldtypearg) |
in lieu of constructor, creates Index object More... | |
template<typename T > | |
void | getequal (T input, std::vector< indexEntry_s > *returnEntries) |
return index entries matching equality expression More... | |
template<typename T > | |
void | getin (T input, vector< indexEntry_s > *returnEntries) |
return index entries matching IN expression More... | |
void | getnotequal (int64_t input, vector< indexEntry_s > *returnEntries) |
return index entries matching inequality expression More... | |
void | getnotequal (uint64_t input, vector< indexEntry_s > *returnEntries) |
return index entries matching inequality expression More... | |
void | getnotequal (bool input, vector< indexEntry_s > *returnEntries) |
return index entries matching inequality expression More... | |
void | getnotequal (long double input, vector< indexEntry_s > *returnEntries) |
return index entries matching inequality expression More... | |
void | getnotequal (char input, vector< indexEntry_s > *returnEntries) |
return index entries matching inequality expression More... | |
void | getnotequal (string input, vector< indexEntry_s > *returnEntries) |
return index entries matching inequality expression More... | |
void | getnotnulls (vector< indexEntry_s > *returnEntries) |
return all non-NULL entries More... | |
void | comparison (int64_t input, operatortypes_e op, vector< indexEntry_s > *returnEntries) |
return index entries matching <,>,<=, or >= expression More... | |
void | comparison (uint64_t input, operatortypes_e op, vector< indexEntry_s > *returnEntries) |
return index entries matching <,>,<=, or >= expression More... | |
void | comparison (bool input, operatortypes_e op, vector< indexEntry_s > *returnEntries) |
return index entries matching <,>,<=, or >= expression More... | |
void | comparison (long double input, operatortypes_e op, vector< indexEntry_s > *returnEntries) |
return index entries matching <,>,<=, or >= expression More... | |
void | comparison (char input, operatortypes_e op, vector< indexEntry_s > *returnEntries) |
return index entries matching <,>,<=, or >= expression More... | |
void | comparison (string *input, operatortypes_e op, vector< indexEntry_s > *returnEntries) |
return index entries matching <,>,<=, or >= expression More... | |
void | between (int64_t lower, int64_t upper, vector< indexEntry_s > *returnEntries) |
return index entries matching BETWEEN expression More... | |
void | between (uint64_t lower, uint64_t upper, vector< indexEntry_s > *returnEntries) |
return index entries matching BETWEEN expression More... | |
void | between (bool lower, bool upper, vector< indexEntry_s > *returnEntries) |
return index entries matching BETWEEN expression More... | |
void | between (long double lower, long double upper, vector< indexEntry_s > *returnEntries) |
return index entries matching BETWEEN expression More... | |
void | between (char lower, char upper, vector< indexEntry_s > *returnEntries) |
return index entries matching BETWEEN expression More... | |
void | between (string lower, string upper, vector< indexEntry_s > *returnEntries) |
return index entries matching BETWEEN expression More... | |
template<class T > | |
void | notbetween (T lower, T upper, vector< indexEntry_s > *returnEntries) |
return index entries matching NOT BETWEEN expression More... | |
void | regex (string *regexStr, vector< indexEntry_s > *returnEntries) |
return index entries matching regex search More... | |
void | like (string &likeStr, vector< indexEntry_s > *returnEntries) |
return index entries matching LIKE search More... | |
void | notlike (string &likeStr, vector< indexEntry_s > *returnEntries) |
return index entries maching NOT LIKE search More... | |
void | getnotin (vector< int64_t > &entries, vector< indexEntry_s > *returnEntries) |
return index entries matching NOT IN expression More... | |
void | getnotin (vector< uint64_t > &entries, vector< indexEntry_s > *returnEntries) |
return index entries matching NOT IN expression More... | |
void | getnotin (vector< bool > &entries, vector< indexEntry_s > *returnEntries) |
return index entries matching NOT IN expression More... | |
void | getnotin (vector< long double > &entries, vector< indexEntry_s > *returnEntries) |
return index entries matching NOT IN expression More... | |
void | getnotin (vector< char > &entries, vector< indexEntry_s > *returnEntries) |
return index entries matching NOT IN expression More... | |
void | getnotin (vector< string > &entries, vector< indexEntry_s > *returnEntries) |
return index entries matching NOT IN expression More... | |
void | commitRollback (int64_t input, int64_t subtransactionid, enginecmd_e cmd) |
commit or rollback entry More... | |
void | commitRollback (uint64_t input, int64_t subtransactionid, enginecmd_e cmd) |
commit or rollback entry More... | |
void | commitRollback (bool input, int64_t subtransactionid, enginecmd_e cmd) |
commit or rollback entry More... | |
void | commitRollback (long double input, int64_t subtransactionid, enginecmd_e cmd) |
commit or rollback entry More... | |
void | commitRollback (char input, int64_t subtransactionid, enginecmd_e cmd) |
commit or rollback entry More... | |
void | commitRollback (string input, int64_t subtransactionid, enginecmd_e cmd) |
commit or rollback entry More... | |
void | replaceUnique (int64_t newrowid, int64_t newengineid, int64_t input) |
replace index value More... | |
void | replaceUnique (int64_t newrowid, int64_t newengineid, uint64_t input) |
replace index value More... | |
void | replaceUnique (int64_t newrowid, int64_t newengineid, bool input) |
replace index value More... | |
void | replaceUnique (int64_t newrowid, int64_t newengineid, long double input) |
replace index value More... | |
void | replaceUnique (int64_t newrowid, int64_t newengineid, char input) |
replace index value More... | |
void | replaceUnique (int64_t newrowid, int64_t newengineid, string &input) |
replace index value More... | |
void | replaceNonunique (int64_t oldrowid, int64_t oldengineid, int64_t newrowid, int64_t newengineid, int64_t input) |
replace index value in non-unique index More... | |
void | replaceNonunique (int64_t oldrowid, int64_t oldengineid, int64_t newrowid, int64_t newengineid, uint64_t input) |
replace index value in non-unique index More... | |
void | replaceNonunique (int64_t oldrowid, int64_t oldengineid, int64_t newrowid, int64_t newengineid, bool input) |
replace index value in non-unique index More... | |
void | replaceNonunique (int64_t oldrowid, int64_t oldengineid, int64_t newrowid, int64_t newengineid, long double input) |
replace index value in non-unique index More... | |
void | replaceNonunique (int64_t oldrowid, int64_t oldengineid, int64_t newrowid, int64_t newengineid, char input) |
replace index value in non-unique index More... | |
void | replaceNonunique (int64_t oldrowid, int64_t oldengineid, int64_t newrowid, int64_t newengineid, string &input) |
replace index value in non-unique index More... | |
void | replaceNull (int64_t oldrowid, int64_t oldengineid, int64_t newrowid, int64_t newengineid) |
replace NULL entry More... | |
void | getnulls (vector< indexEntry_s > *returnEntries) |
return index entries matching IS NULL expression More... | |
void | insertNonuniqueEntry (int64_t entry, int64_t rowid, int64_t engineid) |
insert entry into non-unique index More... | |
void | insertNonuniqueEntry (uint64_t entry, int64_t rowid, int64_t engineid) |
insert entry into non-unique index More... | |
void | insertNonuniqueEntry (bool entry, int64_t rowid, int64_t engineid) |
insert entry into non-unique index More... | |
void | insertNonuniqueEntry (long double entry, int64_t rowid, int64_t engineid) |
insert entry into non-unique index More... | |
void | insertNonuniqueEntry (char entry, int64_t rowid, int64_t engineid) |
insert entry into non-unique index More... | |
void | insertNonuniqueEntry (string *entry, int64_t rowid, int64_t engineid) |
insert entry into non-unique index More... | |
void | deleteNonuniqueEntry (int64_t entry, int64_t rowid, int64_t engineid) |
delete entry from non-unique index More... | |
void | deleteNonuniqueEntry (uint64_t entry, int64_t rowid, int64_t engineid) |
delete entry from non-unique index More... | |
void | deleteNonuniqueEntry (bool entry, int64_t rowid, int64_t engineid) |
delete entry from non-unique index More... | |
void | deleteNonuniqueEntry (long double entry, int64_t rowid, int64_t engineid) |
delete entry from non-unique index More... | |
void | deleteNonuniqueEntry (char entry, int64_t rowid, int64_t engineid) |
delete entry from non-unique index More... | |
void | deleteNonuniqueEntry (string *engry, int64_t rowid, int64_t engineid) |
delete entry from non-unique index More... | |
void | deleteUniqueEntry (int64_t entry) |
delete entry from unique index More... | |
void | deleteUniqueEntry (uint64_t entry) |
delete entry from unique index More... | |
void | deleteUniqueEntry (bool entry) |
delete entry from unique index More... | |
void | deleteUniqueEntry (long double entry) |
delete entry from unique index More... | |
void | deleteUniqueEntry (char entry) |
delete entry from unique index More... | |
void | deleteUniqueEntry (string *entry) |
delete entry from unique index More... | |
void | insertNullEntry (int64_t rowid, int64_t engineid) |
insert entry with NULL value More... | |
void | deleteNullEntry (int64_t rowid, int64_t engineid) |
delete entry with NULL value More... | |
void | getall (vector< indexEntry_s > *returnEntries) |
SELECT *. More... | |
locktype_e | checkAndLock (int64_t entry, int64_t rowid, int64_t engineid, int64_t subtransactionid, int64_t pendingcmdid, int64_t tacmdentrypoint) |
(not used 12/22/13) check existence of entry and lock More... | |
locktype_e | checkAndLock (uint64_t entry, int64_t rowid, int64_t engineid, int64_t subtransactionid, int64_t pendingcmdid, int64_t tacmdentrypoint) |
(not used 12/22/13) check existence of entry and lock More... | |
locktype_e | checkAndLock (bool entry, int64_t rowid, int64_t engineid, int64_t subtransactionid, int64_t pendingcmdid, int64_t tacmdentrypoint) |
(not used 12/22/13) check existence of entry and lock More... | |
locktype_e | checkAndLock (long double entry, int64_t rowid, int64_t engineid, int64_t subtransactionid, int64_t pendingcmdid, int64_t tacmdentrypoint) |
(not used 12/22/13) check existence of entry and lock More... | |
locktype_e | checkAndLock (char entry, int64_t rowid, int64_t engineid, int64_t subtransactionid, int64_t pendingcmdid, int64_t tacmdentrypoint) |
(not used 12/22/13) check existence of entry and lock More... | |
locktype_e | checkAndLock (string *entry, int64_t rowid, int64_t engineid, int64_t subtransactionid, int64_t pendingcmdid, int64_t tacmdentrypoint) |
(not used 12/22/13) check existence of entry and lock More... | |
void | getequal_f (int64_t entry, vector< indexEntry_s > *returnEntries) |
perform activity to check for equality More... | |
void | getequal_f (uint64_t entry, vector< indexEntry_s > *returnEntries) |
perform activity to check for equality More... | |
void | getequal_f (bool entry, vector< indexEntry_s > *returnEntries) |
perform activity to check for equality More... | |
void | getequal_f (long double entry, vector< indexEntry_s > *returnEntries) |
perform activity to check for equality More... | |
void | getequal_f (char entry, vector< indexEntry_s > *returnEntries) |
perform activity to check for equality More... | |
void | getequal_f (string entry, vector< indexEntry_s > *returnEntries) |
perform activity to check for equality More... | |
bool | addifnotthere (fieldValue_s &val, int64_t rowid, int16_t engineid, int64_t subtransactionid) |
create index entry as part of synchronous replication More... | |
bool | checkifthere (fieldValue_s &val) |
check for entry as part of synchronous replication More... | |
bool | checkifthere (int64_t val) |
check for entry as part of synchronous replication More... | |
bool | checkifthere (uint64_t val) |
check for entry as part of synchronous replication More... | |
bool | checkifthere (bool val) |
check for entry as part of synchronous replication More... | |
bool | checkifthere (long double val) |
check for entry as part of synchronous replication More... | |
bool | checkifthere (char val) |
check for entry as part of synchronous replication More... | |
bool | checkifthere (string &val) |
check for entry as part of synchronous replication More... | |
bool | checkifmatch (fieldValue_s &val, int64_t rowid, int64_t engineid) |
check if entry matches row as part of synchronous replication More... | |
bool | checkifmatch (int64_t val, int64_t rowid, int64_t engineid) |
check if entry matches row as part of synchronous replication More... | |
bool | checkifmatch (uint64_t val, int64_t rowid, int64_t engineid) |
check if entry matches row as part of synchronous replication More... | |
bool | checkifmatch (bool val, int64_t rowid, int64_t engineid) |
check if entry matches row as part of synchronous replication More... | |
bool | checkifmatch (long double val, int64_t rowid, int64_t engineid) |
check if entry matches row as part of synchronous replication More... | |
bool | checkifmatch (char val, int64_t rowid, int64_t engineid) |
check if entry matches row as part of synchronous replication More... | |
bool | checkifmatch (string &val, int64_t rowid, int64_t engineid) |
check if entry matches row as part of synchronous replication More... | |
void | rm (fieldValue_s &val) |
delete entry as part of synchronous replication More... | |
void | rm (int64_t val) |
delete entry as part of synchronous replication More... | |
void | rm (uint64_t val) |
delete entry as part of synchronous replication More... | |
void | rm (bool val) |
delete entry as part of synchronous replication More... | |
void | rm (long double val) |
delete entry as part of synchronous replication More... | |
void | rm (char val) |
delete entry as part of synchronous replication More... | |
void | rm (string &val) |
delete entry as part of synchronous replication More... | |
int64_t | getprevioussubtransactionid (fieldValue_s &val) |
return previous subtransactionid for field More... | |
int64_t | getprevioussubtransactionid (int64_t val) |
int64_t | getprevioussubtransactionid (uint64_t val) |
int64_t | getprevioussubtransactionid (bool val) |
int64_t | getprevioussubtransactionid (long double val) |
int64_t | getprevioussubtransactionid (char val) |
int64_t | getprevioussubtransactionid (string &val) |
template<class T , class U , class V > | |
void | getIterators (string *regexStr, T mapPtr, U itBegin, V itEnd) |
set iterators part of regex query More... | |
Friends | |
class | Transaction |
class | Field |
class | SubTransaction |
create INDEX object
Each field has optionally 1 index associated well, upon creation, the following should always be knowable: type,tableid,simple
bool Index::addifnotthere | ( | fieldValue_s & | val, |
int64_t | rowid, | ||
int16_t | engineid, | ||
int64_t | subtransactionid | ||
) |
create index entry as part of synchronous replication
val | field value |
rowid | rowid |
engineid | engineid |
subtransactionid | subtransactionid |
Definition at line 4954 of file Index.cc.
References BOOL, fieldInput_u::boolean, CHAR, fieldInput_u::character, CHARX, checkifthere(), fieldtype, FLOAT, fieldInput_u::floating, indexmaptype, INT, fieldInput_u::integer, fieldValue_s::str, UINT, fieldInput_u::uinteger, uniquebool, uniqueBoolIndex, uniquechar, uniqueCharIndex, uniquecharx, uniquefloat, uniqueFloatIndex, uniqueint, uniqueIntIndex, uniqueStringIndex, uniqueuint, uniqueUintIndex, uniquevarchar, unorderedbool, unorderedBoolIndex, unorderedchar, unorderedCharIndex, unorderedcharx, unorderedfloat, unorderedFloatIndex, unorderedint, unorderedIntIndex, unorderedStringIndex, unordereduint, unorderedUintIndex, unorderedvarchar, fieldValue_s::value, and VARCHAR.
Referenced by Engine::applyItem().
void Index::between | ( | int64_t | lower, |
int64_t | upper, | ||
vector< indexEntry_s > * | returnEntries | ||
) |
return index entries matching BETWEEN expression
BETWEEN is implemented according to SQL-92 spec: "<fieldvalue> BETWEEN lower AND upper" is equivalent to: "<fieldvalue> >= lower AND <fieldvalue> <= upper"
lower | lower range |
upper | upper range |
returnEntries | matching rows |
Definition at line 2537 of file Index.cc.
References indexmaptype, logfile, nonuniqueint, nonuniqueIntIndex, uniqueint, and uniqueIntIndex.
Referenced by SubTransaction::indexSearch().
void Index::between | ( | uint64_t | lower, |
uint64_t | upper, | ||
vector< indexEntry_s > * | returnEntries | ||
) |
return index entries matching BETWEEN expression
BETWEEN is implemented according to SQL-92 spec: "<fieldvalue> BETWEEN lower AND upper" is equivalent to: "<fieldvalue> >= lower AND <fieldvalue> <= upper"
lower | lower range |
upper | upper range |
returnEntries | matching rows |
Definition at line 2604 of file Index.cc.
References nonLockingIndexEntry_s::engineid, indexmaptype, logfile, nonuniqueuint, nonuniqueUintIndex, nonLockingIndexEntry_s::rowid, uniqueuint, and uniqueUintIndex.
void Index::between | ( | bool | lower, |
bool | upper, | ||
vector< indexEntry_s > * | returnEntries | ||
) |
return index entries matching BETWEEN expression
BETWEEN is implemented according to SQL-92 spec: "<fieldvalue> BETWEEN lower AND upper" is equivalent to: "<fieldvalue> >= lower AND <fieldvalue> <= upper"
lower | lower range |
upper | upper range |
returnEntries | matching rows |
void Index::between | ( | long double | lower, |
long double | upper, | ||
vector< indexEntry_s > * | returnEntries | ||
) |
return index entries matching BETWEEN expression
BETWEEN is implemented according to SQL-92 spec: "<fieldvalue> BETWEEN lower AND upper" is equivalent to: "<fieldvalue> >= lower AND <fieldvalue> <= upper"
lower | lower range |
upper | upper range |
returnEntries | matching rows |
Definition at line 2669 of file Index.cc.
References indexmaptype, logfile, nonuniquefloat, nonuniqueFloatIndex, uniquefloat, and uniqueFloatIndex.
void Index::between | ( | char | lower, |
char | upper, | ||
vector< indexEntry_s > * | returnEntries | ||
) |
return index entries matching BETWEEN expression
BETWEEN is implemented according to SQL-92 spec: "<fieldvalue> BETWEEN lower AND upper" is equivalent to: "<fieldvalue> >= lower AND <fieldvalue> <= upper"
lower | lower range |
upper | upper range |
returnEntries | matching rows |
Definition at line 2736 of file Index.cc.
References indexmaptype, logfile, nonuniquechar, nonuniqueCharIndex, uniquechar, and uniqueCharIndex.
void Index::between | ( | string | lower, |
string | upper, | ||
vector< indexEntry_s > * | returnEntries | ||
) |
return index entries matching BETWEEN expression
BETWEEN is implemented according to SQL-92 spec: "<fieldvalue> BETWEEN lower AND upper" is equivalent to: "<fieldvalue> >= lower AND <fieldvalue> <= upper"
lower | lower range |
upper | upper range |
returnEntries | matching rows |
Definition at line 2802 of file Index.cc.
References indexmaptype, logfile, nonuniquecharx, nonuniqueStringIndex, nonuniquevarchar, trimspace(), uniquecharx, uniqueStringIndex, and uniquevarchar.
locktype_e Index::checkAndLock | ( | int64_t | entry, |
int64_t | rowid, | ||
int64_t | engineid, | ||
int64_t | subtransactionid, | ||
int64_t | pendingcmdid, | ||
int64_t | tacmdentrypoint | ||
) |
(not used 12/22/13) check existence of entry and lock
creates pending lock if not acquirable
entry | field value |
rowid | rowid |
engineid | engineid |
subtransactionid | subtransactionid |
pendingcmdid | pending command in calling Transaction |
tacmdentrypoint | entry point for pending command |
Definition at line 269 of file Index.cc.
References lockingIndexEntry::engineid, lockQueueIndexEntry::entry, INDEXLOCK, indexmaptype, INDEXPENDINGLOCK, intLockQueue, logfile, NOLOCK, lockQueueIndexEntry::pendingcmdid, lockingIndexEntry::rowid, lockingIndexEntry::subtransactionid, lockQueueIndexEntry::tacmdentrypoint, uniqueint, uniqueIntIndex, unorderedint, and unorderedIntIndex.
locktype_e Index::checkAndLock | ( | uint64_t | entry, |
int64_t | rowid, | ||
int64_t | engineid, | ||
int64_t | subtransactionid, | ||
int64_t | pendingcmdid, | ||
int64_t | tacmdentrypoint | ||
) |
(not used 12/22/13) check existence of entry and lock
creates pending lock if not acquirable
entry | field value |
rowid | rowid |
engineid | engineid |
subtransactionid | subtransactionid |
pendingcmdid | pending command in calling Transaction |
tacmdentrypoint | entry point for pending command |
Definition at line 349 of file Index.cc.
References lockingIndexEntry::engineid, lockQueueIndexEntry::entry, INDEXLOCK, indexmaptype, INDEXPENDINGLOCK, logfile, NOLOCK, lockQueueIndexEntry::pendingcmdid, lockingIndexEntry::rowid, lockingIndexEntry::subtransactionid, lockQueueIndexEntry::tacmdentrypoint, uintLockQueue, uniqueuint, uniqueUintIndex, unordereduint, and unorderedUintIndex.
locktype_e Index::checkAndLock | ( | bool | entry, |
int64_t | rowid, | ||
int64_t | engineid, | ||
int64_t | subtransactionid, | ||
int64_t | pendingcmdid, | ||
int64_t | tacmdentrypoint | ||
) |
(not used 12/22/13) check existence of entry and lock
creates pending lock if not acquirable
entry | field value |
rowid | rowid |
engineid | engineid |
subtransactionid | subtransactionid |
pendingcmdid | pending command in calling Transaction |
tacmdentrypoint | entry point for pending command |
Definition at line 430 of file Index.cc.
References boolLockQueue, lockingIndexEntry::engineid, lockQueueIndexEntry::entry, INDEXLOCK, indexmaptype, INDEXPENDINGLOCK, logfile, NOLOCK, lockQueueIndexEntry::pendingcmdid, lockingIndexEntry::rowid, lockingIndexEntry::subtransactionid, lockQueueIndexEntry::tacmdentrypoint, uniquebool, uniqueBoolIndex, unorderedbool, and unorderedBoolIndex.
locktype_e Index::checkAndLock | ( | long double | entry, |
int64_t | rowid, | ||
int64_t | engineid, | ||
int64_t | subtransactionid, | ||
int64_t | pendingcmdid, | ||
int64_t | tacmdentrypoint | ||
) |
(not used 12/22/13) check existence of entry and lock
creates pending lock if not acquirable
entry | field value |
rowid | rowid |
engineid | engineid |
subtransactionid | subtransactionid |
pendingcmdid | pending command in calling Transaction |
tacmdentrypoint | entry point for pending command |
Definition at line 511 of file Index.cc.
References lockingIndexEntry::engineid, lockQueueIndexEntry::entry, floatLockQueue, INDEXLOCK, indexmaptype, INDEXPENDINGLOCK, logfile, NOLOCK, lockQueueIndexEntry::pendingcmdid, lockingIndexEntry::rowid, lockingIndexEntry::subtransactionid, lockQueueIndexEntry::tacmdentrypoint, uniquefloat, uniqueFloatIndex, unorderedfloat, and unorderedFloatIndex.
locktype_e Index::checkAndLock | ( | char | entry, |
int64_t | rowid, | ||
int64_t | engineid, | ||
int64_t | subtransactionid, | ||
int64_t | pendingcmdid, | ||
int64_t | tacmdentrypoint | ||
) |
(not used 12/22/13) check existence of entry and lock
creates pending lock if not acquirable
entry | field value |
rowid | rowid |
engineid | engineid |
subtransactionid | subtransactionid |
pendingcmdid | pending command in calling Transaction |
tacmdentrypoint | entry point for pending command |
Definition at line 592 of file Index.cc.
References charLockQueue, lockingIndexEntry::engineid, lockQueueIndexEntry::entry, INDEXLOCK, indexmaptype, INDEXPENDINGLOCK, logfile, NOLOCK, lockQueueIndexEntry::pendingcmdid, lockingIndexEntry::rowid, lockingIndexEntry::subtransactionid, lockQueueIndexEntry::tacmdentrypoint, uniquechar, uniqueCharIndex, unorderedchar, and unorderedCharIndex.
locktype_e Index::checkAndLock | ( | string * | entry, |
int64_t | rowid, | ||
int64_t | engineid, | ||
int64_t | subtransactionid, | ||
int64_t | pendingcmdid, | ||
int64_t | tacmdentrypoint | ||
) |
(not used 12/22/13) check existence of entry and lock
creates pending lock if not acquirable
entry | field value |
rowid | rowid |
engineid | engineid |
subtransactionid | subtransactionid |
pendingcmdid | pending command in calling Transaction |
tacmdentrypoint | entry point for pending command |
Definition at line 673 of file Index.cc.
References lockingIndexEntry::engineid, lockQueueIndexEntry::entry, INDEXLOCK, indexmaptype, INDEXPENDINGLOCK, logfile, NOLOCK, lockQueueIndexEntry::pendingcmdid, lockingIndexEntry::rowid, stringLockQueue, lockingIndexEntry::subtransactionid, lockQueueIndexEntry::tacmdentrypoint, uniquecharx, uniqueStringIndex, uniquevarchar, unorderedcharx, unorderedStringIndex, and unorderedvarchar.
bool Index::checkifmatch | ( | fieldValue_s & | val, |
int64_t | rowid, | ||
int64_t | engineid | ||
) |
check if entry matches row as part of synchronous replication
val | field entry |
rowid | rowid |
engineid | engineid |
Definition at line 5325 of file Index.cc.
References BOOL, fieldInput_u::boolean, CHAR, fieldInput_u::character, CHARX, fieldtype, FLOAT, fieldInput_u::floating, INT, fieldInput_u::integer, fieldValue_s::str, UINT, fieldInput_u::uinteger, fieldValue_s::value, and VARCHAR.
Referenced by Engine::applyItem().
bool Index::checkifmatch | ( | int64_t | val, |
int64_t | rowid, | ||
int64_t | engineid | ||
) |
check if entry matches row as part of synchronous replication
val | field entry |
rowid | rowid |
engineid | engineid |
Definition at line 5365 of file Index.cc.
References lockingIndexEntry::engineid, indexmaptype, lockingIndexEntry::rowid, uniqueint, uniqueIntIndex, unorderedint, and unorderedIntIndex.
bool Index::checkifmatch | ( | uint64_t | val, |
int64_t | rowid, | ||
int64_t | engineid | ||
) |
check if entry matches row as part of synchronous replication
val | field entry |
rowid | rowid |
engineid | engineid |
Definition at line 5393 of file Index.cc.
References lockingIndexEntry::engineid, indexmaptype, lockingIndexEntry::rowid, uniqueuint, uniqueUintIndex, unordereduint, and unorderedUintIndex.
bool Index::checkifmatch | ( | bool | val, |
int64_t | rowid, | ||
int64_t | engineid | ||
) |
check if entry matches row as part of synchronous replication
val | field entry |
rowid | rowid |
engineid | engineid |
Definition at line 5421 of file Index.cc.
References lockingIndexEntry::engineid, indexmaptype, lockingIndexEntry::rowid, uniquebool, uniqueBoolIndex, unorderedbool, and unorderedBoolIndex.
bool Index::checkifmatch | ( | long double | val, |
int64_t | rowid, | ||
int64_t | engineid | ||
) |
check if entry matches row as part of synchronous replication
val | field entry |
rowid | rowid |
engineid | engineid |
Definition at line 5449 of file Index.cc.
References lockingIndexEntry::engineid, indexmaptype, lockingIndexEntry::rowid, uniquefloat, uniqueFloatIndex, unorderedfloat, and unorderedFloatIndex.
bool Index::checkifmatch | ( | char | val, |
int64_t | rowid, | ||
int64_t | engineid | ||
) |
check if entry matches row as part of synchronous replication
val | field entry |
rowid | rowid |
engineid | engineid |
Definition at line 5477 of file Index.cc.
References lockingIndexEntry::engineid, indexmaptype, lockingIndexEntry::rowid, uniquechar, uniqueCharIndex, unorderedchar, and unorderedCharIndex.
bool Index::checkifmatch | ( | string & | val, |
int64_t | rowid, | ||
int64_t | engineid | ||
) |
check if entry matches row as part of synchronous replication
val | field entry |
rowid | rowid |
engineid | engineid |
Definition at line 5505 of file Index.cc.
References lockingIndexEntry::engineid, indexmaptype, lockingIndexEntry::rowid, uniquecharx, uniqueStringIndex, uniquevarchar, unorderedcharx, unorderedStringIndex, and unorderedvarchar.
bool Index::checkifthere | ( | fieldValue_s & | val) |
check for entry as part of synchronous replication
val | field value |
Definition at line 5087 of file Index.cc.
References BOOL, fieldInput_u::boolean, CHAR, fieldInput_u::character, CHARX, fieldtype, FLOAT, fieldInput_u::floating, INT, fieldInput_u::integer, fieldValue_s::str, UINT, fieldInput_u::uinteger, fieldValue_s::value, and VARCHAR.
Referenced by addifnotthere(), and Engine::applyItem().
bool Index::checkifthere | ( | int64_t | val) |
check for entry as part of synchronous replication
val | field value |
Definition at line 5127 of file Index.cc.
References indexmaptype, uniqueint, uniqueIntIndex, unorderedint, and unorderedIntIndex.
bool Index::checkifthere | ( | uint64_t | val) |
check for entry as part of synchronous replication
val | field value |
Definition at line 5157 of file Index.cc.
References indexmaptype, uniqueuint, uniqueUintIndex, unordereduint, and unorderedUintIndex.
bool Index::checkifthere | ( | bool | val) |
check for entry as part of synchronous replication
val | field value |
Definition at line 5187 of file Index.cc.
References indexmaptype, uniquebool, uniqueBoolIndex, unorderedbool, and unorderedBoolIndex.
bool Index::checkifthere | ( | long double | val) |
check for entry as part of synchronous replication
val | field value |
Definition at line 5217 of file Index.cc.
References indexmaptype, uniquefloat, uniqueFloatIndex, unorderedfloat, and unorderedFloatIndex.
bool Index::checkifthere | ( | char | val) |
check for entry as part of synchronous replication
val | field value |
Definition at line 5247 of file Index.cc.
References indexmaptype, uniquechar, uniqueCharIndex, unorderedchar, and unorderedCharIndex.
bool Index::checkifthere | ( | string & | val) |
check for entry as part of synchronous replication
val | field value |
Definition at line 5277 of file Index.cc.
References indexmaptype, uniquecharx, uniqueStringIndex, uniquevarchar, unorderedcharx, unorderedStringIndex, and unorderedvarchar.
void Index::commitRollback | ( | int64_t | input, |
int64_t | subtransactionid, | ||
enginecmd_e | cmd | ||
) |
commit or rollback entry
input | field value |
subtransactionid | subtransactionid |
cmd | commit or rollback |
Definition at line 3694 of file Index.cc.
References COMMITCMD, indexmaptype, logfile, ROLLBACKCMD, uniqueint, uniqueIntIndex, unorderedint, and unorderedIntIndex.
Referenced by SubTransaction::commitRollbackUnlock(), and SubTransaction::processTransactionMessage().
void Index::commitRollback | ( | uint64_t | input, |
int64_t | subtransactionid, | ||
enginecmd_e | cmd | ||
) |
commit or rollback entry
input | field value |
subtransactionid | subtransactionid |
cmd | commit or rollback |
Definition at line 3782 of file Index.cc.
References COMMITCMD, indexmaptype, logfile, ROLLBACKCMD, uniqueuint, uniqueUintIndex, unordereduint, and unorderedUintIndex.
void Index::commitRollback | ( | bool | input, |
int64_t | subtransactionid, | ||
enginecmd_e | cmd | ||
) |
commit or rollback entry
input | field value |
subtransactionid | subtransactionid |
cmd | commit or rollback |
Definition at line 3868 of file Index.cc.
References COMMITCMD, indexmaptype, logfile, ROLLBACKCMD, uniquebool, uniqueBoolIndex, unorderedbool, and unorderedBoolIndex.
void Index::commitRollback | ( | long double | input, |
int64_t | subtransactionid, | ||
enginecmd_e | cmd | ||
) |
commit or rollback entry
input | field value |
subtransactionid | subtransactionid |
cmd | commit or rollback |
Definition at line 3954 of file Index.cc.
References COMMITCMD, indexmaptype, logfile, ROLLBACKCMD, uniquefloat, uniqueFloatIndex, unorderedfloat, and unorderedFloatIndex.
void Index::commitRollback | ( | char | input, |
int64_t | subtransactionid, | ||
enginecmd_e | cmd | ||
) |
commit or rollback entry
input | field value |
subtransactionid | subtransactionid |
cmd | commit or rollback |
Definition at line 4040 of file Index.cc.
References COMMITCMD, indexmaptype, logfile, ROLLBACKCMD, uniquechar, uniqueCharIndex, unorderedchar, and unorderedCharIndex.
void Index::commitRollback | ( | string | input, |
int64_t | subtransactionid, | ||
enginecmd_e | cmd | ||
) |
commit or rollback entry
input | field value |
subtransactionid | subtransactionid |
cmd | commit or rollback |
Definition at line 4125 of file Index.cc.
References COMMITCMD, indexmaptype, logfile, ROLLBACKCMD, uniquecharx, uniqueStringIndex, uniquevarchar, unorderedcharx, unorderedStringIndex, and unorderedvarchar.
void Index::comparison | ( | int64_t | input, |
operatortypes_e | op, | ||
vector< indexEntry_s > * | returnEntries | ||
) |
return index entries matching <,>,<=, or >= expression
input | value to compare |
op | operator |
returnEntries | matching rows |
Definition at line 1881 of file Index.cc.
References indexmaptype, logfile, nonuniqueint, nonuniqueIntIndex, OPERATOR_GT, OPERATOR_GTE, OPERATOR_LT, OPERATOR_LTE, uniqueint, uniqueIntIndex, and unorderedint.
Referenced by SubTransaction::indexSearch(), and notbetween().
void Index::comparison | ( | uint64_t | input, |
operatortypes_e | op, | ||
vector< indexEntry_s > * | returnEntries | ||
) |
return index entries matching <,>,<=, or >= expression
input | value to compare |
op | operator |
returnEntries | matching rows |
Definition at line 1964 of file Index.cc.
References nonLockingIndexEntry_s::engineid, indexmaptype, logfile, nonuniqueuint, nonuniqueUintIndex, OPERATOR_GT, OPERATOR_GTE, OPERATOR_LT, OPERATOR_LTE, nonLockingIndexEntry_s::rowid, uniqueuint, uniqueUintIndex, and unordereduint.
void Index::comparison | ( | bool | input, |
operatortypes_e | op, | ||
vector< indexEntry_s > * | returnEntries | ||
) |
return index entries matching <,>,<=, or >= expression
input | value to compare |
op | operator |
returnEntries | matching rows |
Definition at line 2085 of file Index.cc.
References nonLockingIndexEntry_s::engineid, indexmaptype, logfile, nonuniquebool, nonuniqueBoolIndex, OPERATOR_GT, OPERATOR_GTE, OPERATOR_LT, OPERATOR_LTE, nonLockingIndexEntry_s::rowid, uniquebool, uniqueBoolIndex, and unorderedbool.
void Index::comparison | ( | long double | input, |
operatortypes_e | op, | ||
vector< indexEntry_s > * | returnEntries | ||
) |
return index entries matching <,>,<=, or >= expression
input | value to compare |
op | operator |
returnEntries | matching rows |
Definition at line 2205 of file Index.cc.
References indexmaptype, logfile, nonuniquefloat, nonuniqueFloatIndex, OPERATOR_GT, OPERATOR_GTE, OPERATOR_LT, OPERATOR_LTE, uniquefloat, uniqueFloatIndex, and unorderedfloat.
void Index::comparison | ( | char | input, |
operatortypes_e | op, | ||
vector< indexEntry_s > * | returnEntries | ||
) |
return index entries matching <,>,<=, or >= expression
input | value to compare |
op | operator |
returnEntries | matching rows |
Definition at line 2289 of file Index.cc.
References indexmaptype, logfile, nonuniquechar, nonuniqueCharIndex, OPERATOR_GT, OPERATOR_GTE, OPERATOR_LT, OPERATOR_LTE, uniquechar, uniqueCharIndex, and unorderedchar.
void Index::comparison | ( | string * | input, |
operatortypes_e | op, | ||
vector< indexEntry_s > * | returnEntries | ||
) |
return index entries matching <,>,<=, or >= expression
input | value to compare |
op | operator |
returnEntries | matching rows |
Definition at line 2374 of file Index.cc.
References indexmaptype, logfile, nonuniquecharx, nonuniqueStringIndex, nonuniquevarchar, OPERATOR_GT, OPERATOR_GTE, OPERATOR_LT, OPERATOR_LTE, trimspace(), uniquecharx, uniqueStringIndex, uniquevarchar, unorderedcharx, and unorderedvarchar.
void Index::deleteNonuniqueEntry | ( | int64_t | entry, |
int64_t | rowid, | ||
int64_t | engineid | ||
) |
delete entry from non-unique index
entry | field value |
rowid | rowid |
engineid | engineid |
Definition at line 4664 of file Index.cc.
References nonuniqueIntIndex.
Referenced by SubTransaction::processTransactionMessage().
void Index::deleteNonuniqueEntry | ( | uint64_t | entry, |
int64_t | rowid, | ||
int64_t | engineid | ||
) |
delete entry from non-unique index
entry | field value |
rowid | rowid |
engineid | engineid |
Definition at line 4685 of file Index.cc.
References nonuniqueUintIndex.
void Index::deleteNonuniqueEntry | ( | bool | entry, |
int64_t | rowid, | ||
int64_t | engineid | ||
) |
delete entry from non-unique index
entry | field value |
rowid | rowid |
engineid | engineid |
Definition at line 4707 of file Index.cc.
References nonuniqueBoolIndex.
void Index::deleteNonuniqueEntry | ( | long double | entry, |
int64_t | rowid, | ||
int64_t | engineid | ||
) |
delete entry from non-unique index
entry | field value |
rowid | rowid |
engineid | engineid |
Definition at line 4728 of file Index.cc.
References nonuniqueFloatIndex.
void Index::deleteNonuniqueEntry | ( | char | entry, |
int64_t | rowid, | ||
int64_t | engineid | ||
) |
delete entry from non-unique index
entry | field value |
rowid | rowid |
engineid | engineid |
Definition at line 4750 of file Index.cc.
References nonuniqueCharIndex.
void Index::deleteNonuniqueEntry | ( | string * | engry, |
int64_t | rowid, | ||
int64_t | engineid | ||
) |
delete entry from non-unique index
entry | field value |
rowid | rowid |
engineid | engineid |
Definition at line 4771 of file Index.cc.
References nonuniqueStringIndex, and trimspace().
void Index::deleteNullEntry | ( | int64_t | rowid, |
int64_t | engineid | ||
) |
delete entry with NULL value
rowid | rowid |
engineid | engineid |
Definition at line 4802 of file Index.cc.
References nulls.
Referenced by SubTransaction::processTransactionMessage().
void Index::deleteUniqueEntry | ( | int64_t | entry) |
delete entry from unique index
entry | field value |
Definition at line 4810 of file Index.cc.
References indexmaptype, logfile, uniqueint, uniqueIntIndex, unorderedint, and unorderedIntIndex.
Referenced by SubTransaction::processTransactionMessage().
void Index::deleteUniqueEntry | ( | uint64_t | entry) |
delete entry from unique index
entry | field value |
Definition at line 4828 of file Index.cc.
References indexmaptype, logfile, uniqueuint, uniqueUintIndex, unordereduint, and unorderedUintIndex.
void Index::deleteUniqueEntry | ( | bool | entry) |
delete entry from unique index
entry | field value |
Definition at line 4846 of file Index.cc.
References indexmaptype, logfile, uniquebool, uniqueBoolIndex, unorderedbool, and unorderedBoolIndex.
void Index::deleteUniqueEntry | ( | long double | entry) |
delete entry from unique index
entry | field value |
Definition at line 4864 of file Index.cc.
References indexmaptype, logfile, uniquefloat, uniqueFloatIndex, unorderedfloat, and unorderedFloatIndex.
void Index::deleteUniqueEntry | ( | char | entry) |
delete entry from unique index
entry | field value |
Definition at line 4882 of file Index.cc.
References indexmaptype, logfile, uniquechar, uniqueCharIndex, unorderedchar, and unorderedCharIndex.
void Index::deleteUniqueEntry | ( | string * | entry) |
delete entry from unique index
entry | field value |
Definition at line 4900 of file Index.cc.
References indexmaptype, logfile, trimspace(), uniquecharx, uniqueStringIndex, uniquevarchar, unorderedcharx, unorderedStringIndex, and unorderedvarchar.
void Index::getall | ( | vector< indexEntry_s > * | returnEntries) |
SELECT *.
returnEntries | matching rows |
Definition at line 4947 of file Index.cc.
References getnotnulls(), and getnulls().
Referenced by SubTransaction::indexSearch().
|
inline |
return index entries matching equality expression
input | value to compare |
returnEntries | matching rows |
Definition at line 112 of file Index.h.
References getequal_f().
Referenced by SubTransaction::indexSearch().
void Index::getequal_f | ( | int64_t | entry, |
vector< indexEntry_s > * | returnEntries | ||
) |
perform activity to check for equality
entry | field value |
returnEntries | matchine rows |
Definition at line 1140 of file Index.cc.
References nonLockingIndexEntry_s::engineid, indexmaptype, logfile, nonuniqueint, nonuniqueIntIndex, nonLockingIndexEntry_s::rowid, uniqueint, uniqueIntIndex, unorderedint, and unorderedIntIndex.
Referenced by getequal(), and getin().
void Index::getequal_f | ( | uint64_t | entry, |
vector< indexEntry_s > * | returnEntries | ||
) |
perform activity to check for equality
entry | field value |
returnEntries | matchine rows |
Definition at line 1187 of file Index.cc.
References nonLockingIndexEntry_s::engineid, indexmaptype, logfile, nonuniqueuint, nonuniqueUintIndex, nonLockingIndexEntry_s::rowid, uniqueuint, uniqueUintIndex, unordereduint, and unorderedUintIndex.
void Index::getequal_f | ( | bool | entry, |
vector< indexEntry_s > * | returnEntries | ||
) |
perform activity to check for equality
entry | field value |
returnEntries | matchine rows |
Definition at line 1235 of file Index.cc.
References nonLockingIndexEntry_s::engineid, indexmaptype, logfile, nonuniquebool, nonuniqueBoolIndex, nonLockingIndexEntry_s::rowid, uniquebool, uniqueBoolIndex, unorderedbool, and unorderedBoolIndex.
void Index::getequal_f | ( | long double | entry, |
vector< indexEntry_s > * | returnEntries | ||
) |
perform activity to check for equality
entry | field value |
returnEntries | matchine rows |
Definition at line 1283 of file Index.cc.
References nonLockingIndexEntry_s::engineid, indexmaptype, logfile, nonuniquefloat, nonuniqueFloatIndex, nonLockingIndexEntry_s::rowid, uniquefloat, uniqueFloatIndex, unorderedfloat, and unorderedFloatIndex.
void Index::getequal_f | ( | char | entry, |
vector< indexEntry_s > * | returnEntries | ||
) |
perform activity to check for equality
entry | field value |
returnEntries | matchine rows |
Definition at line 1332 of file Index.cc.
References nonLockingIndexEntry_s::engineid, indexmaptype, logfile, nonuniquechar, nonuniqueCharIndex, nonLockingIndexEntry_s::rowid, uniquechar, uniqueCharIndex, unorderedchar, and unorderedCharIndex.
void Index::getequal_f | ( | string | entry, |
vector< indexEntry_s > * | returnEntries | ||
) |
perform activity to check for equality
entry | field value |
returnEntries | matchine rows |
Definition at line 1380 of file Index.cc.
References nonLockingIndexEntry_s::engineid, indexmaptype, logfile, nonuniquecharx, nonuniqueStringIndex, nonuniquevarchar, nonLockingIndexEntry_s::rowid, trimspace(), uniquecharx, uniqueStringIndex, uniquevarchar, unorderedcharx, unorderedStringIndex, and unorderedvarchar.
|
inline |
return index entries matching IN expression
input | list of IN values to compare |
returnEntries | matching rows |
Definition at line 124 of file Index.h.
References getequal_f().
Referenced by SubTransaction::indexSearch().
|
inline |
void Index::getnotequal | ( | int64_t | input, |
vector< indexEntry_s > * | returnEntries | ||
) |
return index entries matching inequality expression
input | value to compare |
returnEntries | matching rows |
Definition at line 1469 of file Index.cc.
References nonLockingIndexEntry_s::engineid, indexmaptype, logfile, nonuniqueint, nonuniqueIntIndex, nonLockingIndexEntry_s::rowid, uniqueint, uniqueIntIndex, unorderedint, and unorderedIntIndex.
Referenced by SubTransaction::indexSearch().
void Index::getnotequal | ( | uint64_t | input, |
vector< indexEntry_s > * | returnEntries | ||
) |
return index entries matching inequality expression
input | value to compare |
returnEntries | matching rows |
Definition at line 1526 of file Index.cc.
References nonLockingIndexEntry_s::engineid, indexmaptype, logfile, nonuniqueuint, nonuniqueUintIndex, nonLockingIndexEntry_s::rowid, uniqueuint, uniqueUintIndex, unordereduint, and unorderedUintIndex.
void Index::getnotequal | ( | bool | input, |
vector< indexEntry_s > * | returnEntries | ||
) |
return index entries matching inequality expression
input | value to compare |
returnEntries | matching rows |
Definition at line 1586 of file Index.cc.
References nonLockingIndexEntry_s::engineid, indexmaptype, logfile, nonuniquebool, nonuniqueBoolIndex, nonLockingIndexEntry_s::rowid, uniquebool, uniqueBoolIndex, unorderedbool, and unorderedBoolIndex.
void Index::getnotequal | ( | long double | input, |
vector< indexEntry_s > * | returnEntries | ||
) |
return index entries matching inequality expression
input | value to compare |
returnEntries | matching rows |
Definition at line 1647 of file Index.cc.
References nonLockingIndexEntry_s::engineid, indexmaptype, logfile, nonuniquefloat, nonuniqueFloatIndex, nonLockingIndexEntry_s::rowid, uniquefloat, uniqueFloatIndex, unorderedfloat, and unorderedFloatIndex.
void Index::getnotequal | ( | char | input, |
vector< indexEntry_s > * | returnEntries | ||
) |
return index entries matching inequality expression
input | value to compare |
returnEntries | matching rows |
Definition at line 1707 of file Index.cc.
References nonLockingIndexEntry_s::engineid, indexmaptype, logfile, nonuniquechar, nonuniqueCharIndex, nonLockingIndexEntry_s::rowid, uniquechar, uniqueCharIndex, unorderedchar, and unorderedCharIndex.
void Index::getnotequal | ( | string | input, |
vector< indexEntry_s > * | returnEntries | ||
) |
return index entries matching inequality expression
input | value to compare |
returnEntries | matching rows |
Definition at line 1767 of file Index.cc.
References nonLockingIndexEntry_s::engineid, indexmaptype, logfile, nonuniquecharx, nonuniqueStringIndex, nonuniquevarchar, nonLockingIndexEntry_s::rowid, trimspace(), uniquecharx, uniqueStringIndex, uniquevarchar, unorderedcharx, unorderedStringIndex, and unorderedvarchar.
void Index::getnotin | ( | vector< int64_t > & | entries, |
vector< indexEntry_s > * | returnEntries | ||
) |
return index entries matching NOT IN expression
input | list of NOT IN values to compare |
returnEntries | matching rows |
Definition at line 3066 of file Index.cc.
References indexmaptype, logfile, nonuniqueint, nonuniqueIntIndex, uniqueint, uniqueIntIndex, unorderedint, and unorderedIntIndex.
Referenced by SubTransaction::indexSearch().
void Index::getnotin | ( | vector< uint64_t > & | entries, |
vector< indexEntry_s > * | returnEntries | ||
) |
return index entries matching NOT IN expression
input | list of NOT IN values to compare |
returnEntries | matching rows |
Definition at line 3156 of file Index.cc.
References indexmaptype, logfile, nonuniqueuint, nonuniqueUintIndex, uniqueuint, uniqueUintIndex, unordereduint, and unorderedUintIndex.
void Index::getnotin | ( | vector< bool > & | entries, |
vector< indexEntry_s > * | returnEntries | ||
) |
return index entries matching NOT IN expression
input | list of NOT IN values to compare |
returnEntries | matching rows |
Definition at line 3246 of file Index.cc.
References indexmaptype, logfile, nonuniquebool, nonuniqueBoolIndex, uniquebool, uniqueBoolIndex, unorderedbool, and unorderedBoolIndex.
void Index::getnotin | ( | vector< long double > & | entries, |
vector< indexEntry_s > * | returnEntries | ||
) |
return index entries matching NOT IN expression
input | list of NOT IN values to compare |
returnEntries | matching rows |
Definition at line 3336 of file Index.cc.
References indexmaptype, logfile, nonuniquefloat, nonuniqueFloatIndex, uniquefloat, uniqueFloatIndex, unorderedfloat, and unorderedFloatIndex.
void Index::getnotin | ( | vector< char > & | entries, |
vector< indexEntry_s > * | returnEntries | ||
) |
return index entries matching NOT IN expression
input | list of NOT IN values to compare |
returnEntries | matching rows |
Definition at line 3426 of file Index.cc.
References indexmaptype, logfile, nonuniquechar, nonuniqueCharIndex, uniquechar, uniqueCharIndex, unorderedchar, and unorderedCharIndex.
void Index::getnotin | ( | vector< string > & | entries, |
vector< indexEntry_s > * | returnEntries | ||
) |
return index entries matching NOT IN expression
input | list of NOT IN values to compare |
returnEntries | matching rows |
Definition at line 3516 of file Index.cc.
References indexmaptype, logfile, nonuniquecharx, nonuniqueStringIndex, nonuniquevarchar, trimspace(), uniquecharx, uniqueStringIndex, uniquevarchar, unorderedcharx, unorderedStringIndex, and unorderedvarchar.
void Index::getnotnulls | ( | vector< indexEntry_s > * | returnEntries) |
return all non-NULL entries
returnEntries | matching rows |
Definition at line 819 of file Index.cc.
References nonLockingIndexEntry_s::engineid, indexmaptype, logfile, nonuniquebool, nonuniqueBoolIndex, nonuniquechar, nonuniqueCharIndex, nonuniquecharx, nonuniquefloat, nonuniqueFloatIndex, nonuniqueint, nonuniqueIntIndex, nonuniqueStringIndex, nonuniqueuint, nonuniqueUintIndex, nonuniquevarchar, nonLockingIndexEntry_s::rowid, uniquebool, uniqueBoolIndex, uniquechar, uniqueCharIndex, uniquecharx, uniquefloat, uniqueFloatIndex, uniqueint, uniqueIntIndex, uniqueStringIndex, uniqueuint, uniqueUintIndex, uniquevarchar, unorderedbool, unorderedBoolIndex, unorderedchar, unorderedCharIndex, unorderedcharx, unorderedfloat, unorderedFloatIndex, unorderedint, unorderedIntIndex, unorderedStringIndex, unordereduint, unorderedUintIndex, and unorderedvarchar.
Referenced by getall(), and SubTransaction::indexSearch().
void Index::getnulls | ( | vector< indexEntry_s > * | returnEntries) |
return index entries matching IS NULL expression
returnEntries | matching rows |
Definition at line 4928 of file Index.cc.
References nonLockingIndexEntry_s::engineid, notNull, nulls, and nonLockingIndexEntry_s::rowid.
Referenced by getall(), and SubTransaction::indexSearch().
int64_t Index::getprevioussubtransactionid | ( | fieldValue_s & | val) |
return previous subtransactionid for field
part of synchronous replication
val | field value |
Definition at line 5695 of file Index.cc.
References BOOL, fieldInput_u::boolean, CHAR, fieldInput_u::character, CHARX, fieldtype, FLOAT, fieldInput_u::floating, INT, fieldInput_u::integer, fieldValue_s::str, UINT, fieldInput_u::uinteger, fieldValue_s::value, and VARCHAR.
Referenced by Engine::applyItem().
int64_t Index::getprevioussubtransactionid | ( | int64_t | val) |
Definition at line 5736 of file Index.cc.
References indexmaptype, uniqueint, uniqueIntIndex, unorderedint, and unorderedIntIndex.
int64_t Index::getprevioussubtransactionid | ( | uint64_t | val) |
Definition at line 5756 of file Index.cc.
References indexmaptype, uniqueuint, uniqueUintIndex, unordereduint, and unorderedUintIndex.
int64_t Index::getprevioussubtransactionid | ( | bool | val) |
Definition at line 5776 of file Index.cc.
References indexmaptype, uniquebool, uniqueBoolIndex, unorderedbool, and unorderedBoolIndex.
int64_t Index::getprevioussubtransactionid | ( | long double | val) |
Definition at line 5796 of file Index.cc.
References indexmaptype, uniquefloat, uniqueFloatIndex, unorderedfloat, and unorderedFloatIndex.
int64_t Index::getprevioussubtransactionid | ( | char | val) |
Definition at line 5816 of file Index.cc.
References indexmaptype, uniquechar, uniqueCharIndex, unorderedchar, and unorderedCharIndex.
int64_t Index::getprevioussubtransactionid | ( | string & | val) |
Definition at line 5836 of file Index.cc.
References indexmaptype, uniquecharx, uniqueStringIndex, uniquevarchar, unorderedcharx, unorderedStringIndex, and unorderedvarchar.
void Index::insertNonuniqueEntry | ( | int64_t | entry, |
int64_t | rowid, | ||
int64_t | engineid | ||
) |
insert entry into non-unique index
entry | field value |
rowid | rowid |
engineid | engineid |
Definition at line 4610 of file Index.cc.
References nonLockingIndexEntry_s::engineid, nonuniqueIntIndex, and nonLockingIndexEntry_s::rowid.
Referenced by SubTransaction::processTransactionMessage().
void Index::insertNonuniqueEntry | ( | uint64_t | entry, |
int64_t | rowid, | ||
int64_t | engineid | ||
) |
insert entry into non-unique index
entry | field value |
rowid | rowid |
engineid | engineid |
Definition at line 4618 of file Index.cc.
References nonLockingIndexEntry_s::engineid, nonuniqueUintIndex, and nonLockingIndexEntry_s::rowid.
void Index::insertNonuniqueEntry | ( | bool | entry, |
int64_t | rowid, | ||
int64_t | engineid | ||
) |
insert entry into non-unique index
entry | field value |
rowid | rowid |
engineid | engineid |
Definition at line 4628 of file Index.cc.
References nonLockingIndexEntry_s::engineid, nonuniqueBoolIndex, and nonLockingIndexEntry_s::rowid.
void Index::insertNonuniqueEntry | ( | long double | entry, |
int64_t | rowid, | ||
int64_t | engineid | ||
) |
insert entry into non-unique index
entry | field value |
rowid | rowid |
engineid | engineid |
Definition at line 4636 of file Index.cc.
References nonLockingIndexEntry_s::engineid, nonuniqueFloatIndex, and nonLockingIndexEntry_s::rowid.
void Index::insertNonuniqueEntry | ( | char | entry, |
int64_t | rowid, | ||
int64_t | engineid | ||
) |
insert entry into non-unique index
entry | field value |
rowid | rowid |
engineid | engineid |
Definition at line 4646 of file Index.cc.
References nonLockingIndexEntry_s::engineid, nonuniqueCharIndex, and nonLockingIndexEntry_s::rowid.
void Index::insertNonuniqueEntry | ( | string * | entry, |
int64_t | rowid, | ||
int64_t | engineid | ||
) |
insert entry into non-unique index
entry | field value |
rowid | rowid |
engineid | engineid |
Definition at line 4654 of file Index.cc.
References nonLockingIndexEntry_s::engineid, nonuniqueStringIndex, nonLockingIndexEntry_s::rowid, and trimspace().
void Index::insertNullEntry | ( | int64_t | rowid, |
int64_t | engineid | ||
) |
insert entry with NULL value
rowid | rowid |
engineid | engineid |
Definition at line 4794 of file Index.cc.
References nulls.
Referenced by SubTransaction::processTransactionMessage().
void Index::like | ( | string & | likeStr, |
vector< indexEntry_s > * | returnEntries | ||
) |
return index entries matching LIKE search
implemented by calling regex method
likeStr | LIKE operand |
returnEntries | matching rows |
Definition at line 3050 of file Index.cc.
References like2Regex(), regex(), and trimspace().
Referenced by SubTransaction::indexSearch().
void Index::makeindex | ( | indextype_e | indextypearg, |
fieldtype_e | fieldtypearg | ||
) |
in lieu of constructor, creates Index object
indextypearg | index type |
fieldtypearg | field type |
Definition at line 53 of file Index.cc.
References BOOL, boolIndexShadow, boolLockQueue, CHAR, charIndexShadow, charLockQueue, CHARX, fieldtype, FLOAT, floatIndexShadow, floatLockQueue, indexmaptype, indextype, INT, intIndexShadow, intLockQueue, isunique, logfile, maptype, NONE, NONUNIQUE, Nonunique, nonuniquebool, nonuniqueBoolIndex, nonuniquechar, nonuniqueCharIndex, nonuniquecharx, nonuniquefloat, nonuniqueFloatIndex, nonuniqueint, nonuniqueIntIndex, NONUNIQUENOTNULL, nonuniqueStringIndex, nonuniqueuint, nonuniqueUintIndex, nonuniquevarchar, notNull, stringIndexShadow, stringLockQueue, UINT, uintIndexShadow, uintLockQueue, UNIQUE, Unique, uniquebool, uniqueBoolIndex, uniquechar, uniqueCharIndex, uniquecharx, uniquefloat, uniqueFloatIndex, uniqueint, uniqueIntIndex, UNIQUENOTNULL, uniqueStringIndex, uniqueuint, uniqueUintIndex, uniquevarchar, UNORDERED, Unordered, unorderedbool, unorderedBoolIndex, unorderedchar, unorderedCharIndex, unorderedcharx, unorderedfloat, unorderedFloatIndex, unorderedint, unorderedIntIndex, UNORDEREDNOTNULL, unorderedStringIndex, unordereduint, unorderedUintIndex, unorderedvarchar, and VARCHAR.
Referenced by Field::Field().
|
inline |
return index entries matching NOT BETWEEN expression
NOT BETWEEN is implemented according to SQL-92 spec: "<fieldvalue> NOT BETWEEN lower and UPPER" is equivalent to: "<fieldvalue> < lower OR <fieldvalue> > upper"
lower | lower range |
upper | upper range |
returnEntries | matching rows |
Definition at line 328 of file Index.h.
References comparison(), OPERATOR_GT, and OPERATOR_LT.
Referenced by SubTransaction::indexSearch().
void Index::notlike | ( | string & | likeStr, |
vector< indexEntry_s > * | returnEntries | ||
) |
return index entries maching NOT LIKE search
likeStr | NOT LIKE operand |
returnEntries | matching rows |
Definition at line 3057 of file Index.cc.
References like2Regex(), regex(), and trimspace().
Referenced by SubTransaction::indexSearch().
void Index::regex | ( | string * | regexStr, |
vector< indexEntry_s > * | returnEntries | ||
) |
return index entries matching regex search
PCRE is regex library
regexStr | regular expression |
returnEntries | matching rows |
Definition at line 2930 of file Index.cc.
References nonLockingIndexEntry_s::engineid, getIterators(), indexmaptype, logfile, nonuniquecharx, nonuniqueStringIndex, nonuniquevarchar, nonLockingIndexEntry_s::rowid, uniquecharx, uniqueStringIndex, uniquevarchar, unorderedcharx, unorderedStringIndex, and unorderedvarchar.
Referenced by SubTransaction::indexSearch(), like(), and notlike().
void Index::replaceNonunique | ( | int64_t | oldrowid, |
int64_t | oldengineid, | ||
int64_t | newrowid, | ||
int64_t | newengineid, | ||
int64_t | input | ||
) |
replace index value in non-unique index
this activity points an existing index entry to a new row used when 1st field of a row is updated, as that activity is implemented as a DELETE then INSERT of the row
oldrowid | rowid to replace |
oldengineid | engineid to replace |
newrowid | new rowid |
newengineid | new engineid |
input | field value |
Definition at line 4484 of file Index.cc.
References nonuniqueIntIndex.
Referenced by SubTransaction::processTransactionMessage().
void Index::replaceNonunique | ( | int64_t | oldrowid, |
int64_t | oldengineid, | ||
int64_t | newrowid, | ||
int64_t | newengineid, | ||
uint64_t | input | ||
) |
replace index value in non-unique index
this activity points an existing index entry to a new row used when 1st field of a row is updated, as that activity is implemented as a DELETE then INSERT of the row
oldrowid | rowid to replace |
oldengineid | engineid to replace |
newrowid | new rowid |
newengineid | new engineid |
input | field value |
Definition at line 4503 of file Index.cc.
References nonuniqueUintIndex.
void Index::replaceNonunique | ( | int64_t | oldrowid, |
int64_t | oldengineid, | ||
int64_t | newrowid, | ||
int64_t | newengineid, | ||
bool | input | ||
) |
replace index value in non-unique index
this activity points an existing index entry to a new row used when 1st field of a row is updated, as that activity is implemented as a DELETE then INSERT of the row
oldrowid | rowid to replace |
oldengineid | engineid to replace |
newrowid | new rowid |
newengineid | new engineid |
input | field value |
Definition at line 4522 of file Index.cc.
References nonuniqueBoolIndex.
void Index::replaceNonunique | ( | int64_t | oldrowid, |
int64_t | oldengineid, | ||
int64_t | newrowid, | ||
int64_t | newengineid, | ||
long double | input | ||
) |
replace index value in non-unique index
this activity points an existing index entry to a new row used when 1st field of a row is updated, as that activity is implemented as a DELETE then INSERT of the row
oldrowid | rowid to replace |
oldengineid | engineid to replace |
newrowid | new rowid |
newengineid | new engineid |
input | field value |
Definition at line 4540 of file Index.cc.
References nonuniqueFloatIndex.
void Index::replaceNonunique | ( | int64_t | oldrowid, |
int64_t | oldengineid, | ||
int64_t | newrowid, | ||
int64_t | newengineid, | ||
char | input | ||
) |
replace index value in non-unique index
this activity points an existing index entry to a new row used when 1st field of a row is updated, as that activity is implemented as a DELETE then INSERT of the row
oldrowid | rowid to replace |
oldengineid | engineid to replace |
newrowid | new rowid |
newengineid | new engineid |
input | field value |
Definition at line 4559 of file Index.cc.
References nonuniqueCharIndex.
void Index::replaceNonunique | ( | int64_t | oldrowid, |
int64_t | oldengineid, | ||
int64_t | newrowid, | ||
int64_t | newengineid, | ||
string & | input | ||
) |
replace index value in non-unique index
this activity points an existing index entry to a new row used when 1st field of a row is updated, as that activity is implemented as a DELETE then INSERT of the row
oldrowid | rowid to replace |
oldengineid | engineid to replace |
newrowid | new rowid |
newengineid | new engineid |
input | field value |
Definition at line 4577 of file Index.cc.
References nonuniqueStringIndex, and trimspace().
void Index::replaceNull | ( | int64_t | oldrowid, |
int64_t | oldengineid, | ||
int64_t | newrowid, | ||
int64_t | newengineid | ||
) |
replace NULL entry
this activity points an existing index entry to a new row used when 1st field of a row is updated, as that activity is implemented as a DELETE then INSERT of the row
oldrowid | rowid to replace |
oldengineid | engineid to replace |
newrowid | new rowid |
newengineid | new engineid |
Definition at line 4598 of file Index.cc.
References nulls.
Referenced by SubTransaction::processTransactionMessage().
void Index::replaceUnique | ( | int64_t | newrowid, |
int64_t | newengineid, | ||
int64_t | input | ||
) |
replace index value
this activity points an existing index entry to a new row used when 1st field of a row is updated, as that activity is implemented as a DELETE then INSERT of the row
newrowid | new rowid |
newengineid | new engineid |
input | field value |
Definition at line 4272 of file Index.cc.
References lockingIndexEntry::engineid, indexmaptype, logfile, lockingIndexEntry::rowid, lockingIndexEntry::subtransactionid, uniqueint, uniqueIntIndex, unorderedint, and unorderedIntIndex.
Referenced by SubTransaction::processTransactionMessage().
void Index::replaceUnique | ( | int64_t | newrowid, |
int64_t | newengineid, | ||
uint64_t | input | ||
) |
replace index value
this activity points an existing index entry to a new row used when 1st field of a row is updated, as that activity is implemented as a DELETE then INSERT of the row
newrowid | new rowid |
newengineid | new engineid |
input | field value |
Definition at line 4303 of file Index.cc.
References lockingIndexEntry::engineid, indexmaptype, logfile, lockingIndexEntry::rowid, lockingIndexEntry::subtransactionid, uniqueuint, uniqueUintIndex, unordereduint, and unorderedUintIndex.
void Index::replaceUnique | ( | int64_t | newrowid, |
int64_t | newengineid, | ||
bool | input | ||
) |
replace index value
this activity points an existing index entry to a new row used when 1st field of a row is updated, as that activity is implemented as a DELETE then INSERT of the row
newrowid | new rowid |
newengineid | new engineid |
input | field value |
Definition at line 4334 of file Index.cc.
References lockingIndexEntry::engineid, indexmaptype, logfile, lockingIndexEntry::rowid, lockingIndexEntry::subtransactionid, uniquebool, uniqueBoolIndex, unorderedbool, and unorderedBoolIndex.
void Index::replaceUnique | ( | int64_t | newrowid, |
int64_t | newengineid, | ||
long double | input | ||
) |
replace index value
this activity points an existing index entry to a new row used when 1st field of a row is updated, as that activity is implemented as a DELETE then INSERT of the row
newrowid | new rowid |
newengineid | new engineid |
input | field value |
Definition at line 4365 of file Index.cc.
References lockingIndexEntry::engineid, indexmaptype, logfile, lockingIndexEntry::rowid, lockingIndexEntry::subtransactionid, uniquefloat, uniqueFloatIndex, unorderedfloat, and unorderedFloatIndex.
void Index::replaceUnique | ( | int64_t | newrowid, |
int64_t | newengineid, | ||
char | input | ||
) |
replace index value
this activity points an existing index entry to a new row used when 1st field of a row is updated, as that activity is implemented as a DELETE then INSERT of the row
newrowid | new rowid |
newengineid | new engineid |
input | field value |
Definition at line 4397 of file Index.cc.
References lockingIndexEntry::engineid, indexmaptype, logfile, lockingIndexEntry::rowid, lockingIndexEntry::subtransactionid, uniquechar, uniqueCharIndex, unorderedchar, and unorderedCharIndex.
void Index::replaceUnique | ( | int64_t | newrowid, |
int64_t | newengineid, | ||
string & | input | ||
) |
replace index value
this activity points an existing index entry to a new row used when 1st field of a row is updated, as that activity is implemented as a DELETE then INSERT of the row
newrowid | new rowid |
newengineid | new engineid |
input | field value |
Definition at line 4428 of file Index.cc.
References lockingIndexEntry::engineid, indexmaptype, logfile, lockingIndexEntry::rowid, lockingIndexEntry::subtransactionid, trimspace(), uniquecharx, uniqueStringIndex, uniquevarchar, unorderedcharx, unorderedStringIndex, and unorderedvarchar.
void Index::rm | ( | fieldValue_s & | val) |
delete entry as part of synchronous replication
val | field value |
Definition at line 5541 of file Index.cc.
References BOOL, fieldInput_u::boolean, CHAR, fieldInput_u::character, CHARX, fieldtype, FLOAT, fieldInput_u::floating, INT, fieldInput_u::integer, fieldValue_s::str, UINT, fieldInput_u::uinteger, fieldValue_s::value, and VARCHAR.
Referenced by Engine::applyItem().
void Index::rm | ( | int64_t | val) |
delete entry as part of synchronous replication
val | field value |
Definition at line 5579 of file Index.cc.
References indexmaptype, uniqueint, uniqueIntIndex, unorderedint, and unorderedIntIndex.
void Index::rm | ( | uint64_t | val) |
delete entry as part of synchronous replication
val | field value |
Definition at line 5597 of file Index.cc.
References indexmaptype, uniqueuint, uniqueUintIndex, unordereduint, and unorderedUintIndex.
void Index::rm | ( | bool | val) |
delete entry as part of synchronous replication
val | field value |
Definition at line 5615 of file Index.cc.
References indexmaptype, uniquebool, uniqueBoolIndex, unorderedbool, and unorderedBoolIndex.
void Index::rm | ( | long double | val) |
delete entry as part of synchronous replication
val | field value |
Definition at line 5633 of file Index.cc.
References indexmaptype, uniquefloat, uniqueFloatIndex, unorderedfloat, and unorderedFloatIndex.
void Index::rm | ( | char | val) |
delete entry as part of synchronous replication
val | field value |
Definition at line 5651 of file Index.cc.
References indexmaptype, uniquechar, uniqueCharIndex, unorderedchar, and unorderedCharIndex.
void Index::rm | ( | string & | val) |
delete entry as part of synchronous replication
val | field value |
Definition at line 5669 of file Index.cc.
References indexmaptype, uniquecharx, uniqueStringIndex, uniquevarchar, unorderedcharx, unorderedStringIndex, and unorderedvarchar.
|
friend |
|
friend |
unorderedBoolMap* Index::boolIndexShadow |
Definition at line 1236 of file Index.h.
Referenced by makeindex().
boost::unordered_map< bool, std::queue<lockQueueIndexEntry> >* Index::boolLockQueue |
Definition at line 1246 of file Index.h.
Referenced by checkAndLock(), SubTransaction::drainIndexLockQueue(), makeindex(), and SubTransaction::uniqueIndex().
unorderedCharMap* Index::charIndexShadow |
Definition at line 1238 of file Index.h.
Referenced by makeindex().
boost::unordered_map< char, std::queue<lockQueueIndexEntry> >* Index::charLockQueue |
Definition at line 1250 of file Index.h.
Referenced by checkAndLock(), SubTransaction::drainIndexLockQueue(), makeindex(), and SubTransaction::uniqueIndex().
fieldtype_e Index::fieldtype |
Definition at line 1210 of file Index.h.
Referenced by addifnotthere(), checkifmatch(), checkifthere(), SubTransaction::commitRollbackUnlock(), SubTransaction::drainIndexLockQueue(), getprevioussubtransactionid(), SubTransaction::indexSearch(), makeindex(), SubTransaction::processTransactionMessage(), and rm().
unorderedFloatMap* Index::floatIndexShadow |
Definition at line 1237 of file Index.h.
Referenced by makeindex().
boost::unordered_map< long double, std::queue<lockQueueIndexEntry> >* Index::floatLockQueue |
Definition at line 1248 of file Index.h.
Referenced by checkAndLock(), SubTransaction::drainIndexLockQueue(), makeindex(), and SubTransaction::uniqueIndex().
indexmaptype_e Index::indexmaptype |
Definition at line 1214 of file Index.h.
Referenced by addifnotthere(), Engine::applyItem(), between(), checkAndLock(), checkifmatch(), checkifthere(), commitRollback(), comparison(), deleteUniqueEntry(), getequal_f(), getnotequal(), getnotin(), getnotnulls(), getprevioussubtransactionid(), makeindex(), regex(), replaceUnique(), rm(), and SubTransaction::uniqueIndex().
indextype_e Index::indextype |
Definition at line 1209 of file Index.h.
Referenced by Engine::applyItem(), Transaction::continueCommitTransaction(), and makeindex().
unorderedIntMap* Index::intIndexShadow |
Definition at line 1234 of file Index.h.
Referenced by makeindex().
boost::unordered_map< int64_t, std::queue<lockQueueIndexEntry> >* Index::intLockQueue |
Definition at line 1242 of file Index.h.
Referenced by checkAndLock(), SubTransaction::drainIndexLockQueue(), makeindex(), and SubTransaction::uniqueIndex().
bool Index::isunique |
Definition at line 1213 of file Index.h.
Referenced by Transaction::continueCommitTransaction(), Transaction::continueSqlReplace(), Statement::continueUpdate(), makeindex(), and SubTransaction::processTransactionMessage().
maptype_e Index::maptype |
Definition at line 1211 of file Index.h.
Referenced by makeindex().
nonuniqueBoolMap* Index::nonuniqueBoolIndex |
Definition at line 1223 of file Index.h.
Referenced by Engine::applyItem(), comparison(), deleteNonuniqueEntry(), getequal_f(), getnotequal(), getnotin(), getnotnulls(), insertNonuniqueEntry(), makeindex(), and replaceNonunique().
nonuniqueCharMap* Index::nonuniqueCharIndex |
Definition at line 1229 of file Index.h.
Referenced by Engine::applyItem(), between(), comparison(), deleteNonuniqueEntry(), getequal_f(), getnotequal(), getnotin(), getnotnulls(), insertNonuniqueEntry(), makeindex(), and replaceNonunique().
nonuniqueFloatMap* Index::nonuniqueFloatIndex |
Definition at line 1226 of file Index.h.
Referenced by Engine::applyItem(), between(), comparison(), deleteNonuniqueEntry(), getequal_f(), getnotequal(), getnotin(), getnotnulls(), insertNonuniqueEntry(), makeindex(), and replaceNonunique().
nonuniqueIntMap* Index::nonuniqueIntIndex |
Definition at line 1217 of file Index.h.
Referenced by Engine::applyItem(), between(), comparison(), deleteNonuniqueEntry(), getequal_f(), getnotequal(), getnotin(), getnotnulls(), insertNonuniqueEntry(), makeindex(), and replaceNonunique().
nonuniqueStringMap* Index::nonuniqueStringIndex |
Definition at line 1232 of file Index.h.
Referenced by Engine::applyItem(), between(), comparison(), deleteNonuniqueEntry(), getequal_f(), getnotequal(), getnotin(), getnotnulls(), insertNonuniqueEntry(), makeindex(), regex(), and replaceNonunique().
nonuniqueUintMap* Index::nonuniqueUintIndex |
Definition at line 1220 of file Index.h.
Referenced by Engine::applyItem(), between(), comparison(), deleteNonuniqueEntry(), getequal_f(), getnotequal(), getnotin(), getnotnulls(), insertNonuniqueEntry(), makeindex(), and replaceNonunique().
bool Index::notNull |
Definition at line 1212 of file Index.h.
Referenced by getnulls(), and makeindex().
boost::unordered_set< vector<int64_t> > Index::nulls |
Definition at line 1258 of file Index.h.
Referenced by Engine::applyItem(), deleteNullEntry(), getnulls(), insertNullEntry(), and replaceNull().
unorderedStringMap* Index::stringIndexShadow |
Definition at line 1239 of file Index.h.
Referenced by makeindex().
boost::unordered_map< std::string, std::queue<lockQueueIndexEntry> >* Index::stringLockQueue |
Definition at line 1252 of file Index.h.
Referenced by checkAndLock(), SubTransaction::drainIndexLockQueue(), makeindex(), and SubTransaction::uniqueIndex().
unorderedUintMap* Index::uintIndexShadow |
Definition at line 1235 of file Index.h.
Referenced by makeindex().
boost::unordered_map< uint64_t, std::queue<lockQueueIndexEntry> >* Index::uintLockQueue |
Definition at line 1244 of file Index.h.
Referenced by checkAndLock(), SubTransaction::drainIndexLockQueue(), makeindex(), and SubTransaction::uniqueIndex().
uniqueBoolMap* Index::uniqueBoolIndex |
Definition at line 1222 of file Index.h.
Referenced by addifnotthere(), checkAndLock(), checkifmatch(), checkifthere(), commitRollback(), comparison(), deleteUniqueEntry(), getequal_f(), getnotequal(), getnotin(), getnotnulls(), getprevioussubtransactionid(), makeindex(), replaceUnique(), rm(), and SubTransaction::uniqueIndex().
uniqueCharMap* Index::uniqueCharIndex |
Definition at line 1228 of file Index.h.
Referenced by addifnotthere(), between(), checkAndLock(), checkifmatch(), checkifthere(), commitRollback(), comparison(), deleteUniqueEntry(), getequal_f(), getnotequal(), getnotin(), getnotnulls(), getprevioussubtransactionid(), makeindex(), replaceUnique(), rm(), and SubTransaction::uniqueIndex().
uniqueFloatMap* Index::uniqueFloatIndex |
Definition at line 1225 of file Index.h.
Referenced by addifnotthere(), between(), checkAndLock(), checkifmatch(), checkifthere(), commitRollback(), comparison(), deleteUniqueEntry(), getequal_f(), getnotequal(), getnotin(), getnotnulls(), getprevioussubtransactionid(), makeindex(), replaceUnique(), rm(), and SubTransaction::uniqueIndex().
uniqueIntMap* Index::uniqueIntIndex |
Definition at line 1216 of file Index.h.
Referenced by addifnotthere(), between(), checkAndLock(), checkifmatch(), checkifthere(), commitRollback(), comparison(), deleteUniqueEntry(), getequal_f(), getnotequal(), getnotin(), getnotnulls(), getprevioussubtransactionid(), makeindex(), replaceUnique(), rm(), and SubTransaction::uniqueIndex().
uniqueStringMap* Index::uniqueStringIndex |
Definition at line 1231 of file Index.h.
Referenced by addifnotthere(), between(), checkAndLock(), checkifmatch(), checkifthere(), commitRollback(), comparison(), deleteUniqueEntry(), getequal_f(), getnotequal(), getnotin(), getnotnulls(), getprevioussubtransactionid(), makeindex(), regex(), replaceUnique(), rm(), and SubTransaction::uniqueIndex().
uniqueUintMap* Index::uniqueUintIndex |
Definition at line 1219 of file Index.h.
Referenced by addifnotthere(), between(), checkAndLock(), checkifmatch(), checkifthere(), commitRollback(), comparison(), deleteUniqueEntry(), getequal_f(), getnotequal(), getnotin(), getnotnulls(), getprevioussubtransactionid(), makeindex(), replaceUnique(), rm(), and SubTransaction::uniqueIndex().
unorderedBoolMap* Index::unorderedBoolIndex |
Definition at line 1224 of file Index.h.
Referenced by addifnotthere(), checkAndLock(), checkifmatch(), checkifthere(), commitRollback(), deleteUniqueEntry(), getequal_f(), getnotequal(), getnotin(), getnotnulls(), getprevioussubtransactionid(), makeindex(), replaceUnique(), rm(), and SubTransaction::uniqueIndex().
unorderedCharMap* Index::unorderedCharIndex |
Definition at line 1230 of file Index.h.
Referenced by addifnotthere(), checkAndLock(), checkifmatch(), checkifthere(), commitRollback(), deleteUniqueEntry(), getequal_f(), getnotequal(), getnotin(), getnotnulls(), getprevioussubtransactionid(), makeindex(), replaceUnique(), rm(), and SubTransaction::uniqueIndex().
unorderedFloatMap* Index::unorderedFloatIndex |
Definition at line 1227 of file Index.h.
Referenced by addifnotthere(), checkAndLock(), checkifmatch(), checkifthere(), commitRollback(), deleteUniqueEntry(), getequal_f(), getnotequal(), getnotin(), getnotnulls(), getprevioussubtransactionid(), makeindex(), replaceUnique(), rm(), and SubTransaction::uniqueIndex().
unorderedIntMap* Index::unorderedIntIndex |
Definition at line 1218 of file Index.h.
Referenced by addifnotthere(), checkAndLock(), checkifmatch(), checkifthere(), commitRollback(), deleteUniqueEntry(), getequal_f(), getnotequal(), getnotin(), getnotnulls(), getprevioussubtransactionid(), makeindex(), replaceUnique(), rm(), and SubTransaction::uniqueIndex().
unorderedStringMap* Index::unorderedStringIndex |
Definition at line 1233 of file Index.h.
Referenced by addifnotthere(), checkAndLock(), checkifmatch(), checkifthere(), commitRollback(), deleteUniqueEntry(), getequal_f(), getnotequal(), getnotin(), getnotnulls(), getprevioussubtransactionid(), makeindex(), regex(), replaceUnique(), rm(), and SubTransaction::uniqueIndex().
unorderedUintMap* Index::unorderedUintIndex |
Definition at line 1221 of file Index.h.
Referenced by addifnotthere(), checkAndLock(), checkifmatch(), checkifthere(), commitRollback(), deleteUniqueEntry(), getequal_f(), getnotequal(), getnotin(), getnotnulls(), getprevioussubtransactionid(), makeindex(), replaceUnique(), rm(), and SubTransaction::uniqueIndex().