|
Relational Algebra Engine
|
Relation implementation for the Relational Algebra Engine. More...

Classes | |
| struct | FindTupleContext |
Functions | |
| Relation * | relation_create (const char *name) |
| Create a new Relation. | |
| void | relation_destroy (Relation *r) |
| Destroy a Relation and free its memory. | |
| int | relation_add_tuple (Relation *r, Tuple *t) |
| Add a tuple to a relation. | |
| void | relation_print (const Relation *r) |
| Print a Relation to stdout. | |
| Tuple * | relation_find_tuple (Relation *r, Tuple *target) |
| Find a tuple in a relation matching the target. | |
Relation implementation for the Relational Algebra Engine.
Provides creation, destruction, and manipulation of relations (for now, simply sets of tuples), adhering to the strict theoretical model of relational algebra.
Add a tuple to a relation.
| r | Pointer to the Relation. |
| t | Pointer to the Tuple to add. |
| Relation * relation_create | ( | const char * | name | ) |
| void relation_destroy | ( | Relation * | r | ) |
Find a tuple in a relation matching the target.
| r | Pointer to the Relation. |
| target | Pointer to the Tuple to find. |