|
Public Member Functions |
| CP (ptr< CPViewDescription > cp_desc) |
| constructor
|
| ~CP () |
| destructor
|
void | setStartPointer (string view_id, char *start) |
| change the start_pointer for the given view_id
|
void | setEndPointer (string view_id, char *end) |
| change the end_pointer for the given view_id
|
void | setPointers (string view_id, char *start, char *end) |
| set the start and end pointers for view_id
|
ptr< CPView > | createImplictView (string base_view_id) |
| create a view identical to the one in base_view_id
|
ptr< CPView > | createExplicitView (ptr< CPViewDescription > desc) |
| create a view with the specifications is desc
|
void | enqueue (const void *tuple) |
| enqueue tuple
|
vector< char * > | extract (char *first, char *last) |
| return tuples between first and last pointers
|
vector< char * > | extract (char *first, char *last, vector< ptr< Expression > > keys) |
char * | extract (string tuple_key, vector< ptr< Expression > > keys) |
| extract this one tuple with given key
|
char * | extract (int tuple_id) |
| extract tuple with the given tuple_id
|
vector< char * > | extract (int start_order_by, int end_order_by, ptr< Expression > order_by_field, bool revisions) |
| extracts tuples from start_order_by to end_order_by given by order_by_field bool revisions says whether to include revisions or not
|
ptr< CPStorage > | getStorage () |
ptr< CPView > | getCPView (string view_id) |
| retrieve the view from my_cp_views given view_id
|
map< string, ptr< CPView >,
ltstr > | getAllCPViews () |
void | removeCPView (string view_id) |
| removes CPView, _start_pointers and _end_pointers for view_id
|
char * | findFirstPointerToVal (int val, ptr< Expression > order_by) |
| returns the first tuple with val in the order_by field
|
char * | findLastPointerToVal (int val, ptr< Expression > order_by) |
| returns the last tuple with val in the order_by field
|
void | setView (string view_id) |
void | addView (string view_id, ptr< CPView > cp_view) |
void | discardTuples () |
string | as_string () const |
bool | isLater (char *p1, char *p2) |