-
Notifications
You must be signed in to change notification settings - Fork 20
Rest api
johnchronis edited this page Mar 24, 2016
·
17 revisions
Through our REST API a user is able to:
- to request the execution plan from Exareme
- submit queries
- retrieve results
##Settings A POST request is used to perform any of the tasks described in Functionality.
- Exareme listens on port 9090
- ** Content Type** should be application/x-www-form-uriencoded
- Every request should contain a form with the following values:
- db : path to the database
- query : the ExaDFL query
Exareme on its default settings listen on port 9090.
With the following request you can get the execution query plan:
URL: http://localhost:9090/query/
With the following request you can submit queries:
URL: http://localhost:9090/explain/
-- mode: json or viz
(viz return a html page that shows a graphic representation of the execution plan, same colors represent same workers)