This repository contains the contributions from the paper "Managing Polyglot Systems Metadata using Hypergraphs". This is an implementation of the catalog described in the above paper for the ESTOCATA polyglot system. Further details on the structure of the polyglot system are available here. (Bugiotti F, Bursztyn D, Deutsch A, Ileana I, Manolescu I. Invisible glue: scalable self-tuning multi-stores. In Conference on Innovative Data Systems Research (CIDR) 2015 Jan 4.)
- Change HG_LOCATION variable to the path where you want the hypergraphdb to store the data (edu.upc.essi.catalog.constants.Const.java)
- Run the run.java file. If the hypergraph data is not available, it will automatically create the database.
- Type in the Atom names that you want to generate the queries for separated by commas. Then you will be presented with the queries regarding where each of the data segments lies, in the native query languages.
- Type exit to exit the prompt
P.S: The code also contains query generation for wide-column stores. But, in ESTOCADA they do not use wide-column stores. Instead, they use a key-value store to store bus route information. Therefore, project queries cannot be generated on them.