terimber_memindex Class Reference
abstract interface to memory index
More...
#include <memdbacc.h>
List of all members.
|
Public Member Functions |
virtual terimber_memlookup * | add_lookup (const terimber_db_value_vector *info)=0 |
| for navigation user has to create index lookup first the list of values, should be the same length & type as the index columns or less for example, let us assume we have an index with two columns (id, integer) & (name, string) if the user provides values for id & name then the lookup will search for rows with specified id & name however, if only id is specified, lookup will ignore the second column values. it's impossible to set search lookup on the second column without setting the first column to do such a thing the user needs to create an index with a different order of index columns, for instance name and id, and set search criteria for the name column. user is allowed to ignore search criteria competely, (info == null) then lookup will move row by row in order they came from database, including the row with status = deleted
|
virtual bool | remove_lookup (terimber_memlookup *obj)=0 |
| destroys lookup after using
|
Protected Member Functions |
virtual | ~terimber_memindex () |
| destructor users can't call destructor, memtable will take case about cleanup
|
Detailed Description
abstract interface to memory index
Definition at line 537 of file memdbacc.h.
Constructor & Destructor Documentation
virtual terimber_memindex::~terimber_memindex |
( |
|
) |
[inline, protected, virtual] |
destructor users can't call destructor, memtable will take case about cleanup
Definition at line 543 of file memdbacc.h.
Member Function Documentation
for navigation user has to create index lookup first the list of values, should be the same length & type as the index columns or less for example, let us assume we have an index with two columns (id, integer) & (name, string) if the user provides values for id & name then the lookup will search for rows with specified id & name however, if only id is specified, lookup will ignore the second column values. it's impossible to set search lookup on the second column without setting the first column to do such a thing the user needs to create an index with a different order of index columns, for instance name and id, and set search criteria for the name column. user is allowed to ignore search criteria competely, (info == null) then lookup will move row by row in order they came from database, including the row with status = deleted
- Parameters:
-
Implemented in memindex.
destroys lookup after using
- Parameters:
-
obj |
pointer to the lookup object |
Implemented in memindex.
The documentation for this class was generated from the following file: