10#ifndef _SWATDB_OPERATION_H_
11#define _SWATDB_OPERATION_H_
123 std::vector<FieldId> fields,
fileState *state);
Definition heapfilescanner.h:39
Definition operation.h:74
Operation(FileId result_id, Catalog *catalog)
Constructor for the Operation class. Because Operation is an abstract class, an object cannot be crea...
void _initState(FileId file_id, std::vector< FieldId > fields, fileState *state)
Performs the file and temporary record setup for relational operators.
void _delState(fileState *file_state)
Deletes objects created in relop structs.
virtual ~Operation()
Destructor for the Operation class. Cleans up dynamic memory in result state.
virtual void runOperation()=0
Runs the operation. Other than initial setup in the initialization, all the work of each operation is...
Definition relationfile.h:32
Definition swatdb_types.h:70
Definition operation.h:40
Record * rec
Definition operation.h:56
FileId fid
Definition operation.h:48
Key * key
Definition operation.h:64
Schema * schema
Definition operation.h:52
RecordId rid
Definition operation.h:60
File * file
Definition operation.h:44
std::uint32_t FileId
Definition swatdb_types.h:33