The HecateAPI implements the 3 basic use-cases of the system.
This method implements the parsing process. It receives
as input the path of a schema file and extracts
the needed information.
@param path The path of the SQL data definition file.
@return The schema of the database as a data structure.
This method implements the export process. It can be
which extracts and stores the various tables and
transitions information on different files.
@param diffResult Data structure that stores all the information
of a difference between 2 schemas
@param transitions Data structure that stores a list of transitions.
@param operation One of the following:
metrics: save metrics
tables: save tables info
ransitions: save transitions information
This function performs the main algorithm for
finding the differences between two schemas.
The algorithm is a modification of the SortMergeJoin
algorithm found at DBMS's for joining two tables.
@param schema1 The original schema.
@param schema2 The modified version of the original schema.
@return The schema of the database as a data structure.
- Nikos Koufos
- Thanos Pappas
- Michalis Sotiriou