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

Classes | |
| struct | FindAttributeContext |
| struct | TupleEqualsContext |
Functions | |
| Tuple * | tuple_create (void) |
| Create a new Tuple. | |
| void | tuple_destroy (Tuple *t) |
| Destroy a Tuple and free its memory. | |
| int | tuple_add_attribute (Tuple *t, Attribute *attr) |
| Add an Attribute to a Tuple. | |
| void | tuple_print (const Tuple *t) |
| Print a Tuple to stdout. | |
| Attribute * | tuple_find_attribute (Tuple *t, const char *name) |
| Find an Attribute in a Tuple by name. | |
| int | tuple_equals (Tuple *a, Tuple *b) |
| Check if two Tuples are equal (all attributes match). | |
Tuple implementation for the Relational Algebra Engine.
Handles creation, destruction, and comparison of tuples, which are sets of attributes and serve as the elements of relations in the relational model.
| Tuple * tuple_create | ( | void | ) |
Create a new Tuple.
| void tuple_destroy | ( | Tuple * | t | ) |
Destroy a Tuple and free its memory.
| t | Pointer to the Tuple to destroy. |
Check if two Tuples are equal (all attributes match).
| a | Pointer to first Tuple. |
| b | Pointer to second Tuple. |
| void tuple_print | ( | const Tuple * | t | ) |
Print a Tuple to stdout.
| t | Pointer to the Tuple to print. |