You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

You can access the installed queries of the server with the queries endpoint. If e.g. the would be a query with id 0, you could access the query with: http://localhost:8888/queries/0

The result will look similar to the following:

The important part for accessing the results can be found in the websockets section. For each root operator (i.e. the sink of a plan) you could find information how to access the results via a web socket connection.

Different kinds of data can be access. E.g. in der example above, the endpoint "/queries/0/58d8cc6a-9591-442c-be83-19195825c7a6/0/CSV/33fh77du9jtt870cl6lkd0b531" will delivers the results of the query via the CSV protocol handler. (Binary will be the Odysseus Protocol Handler)

You can access the result e.g. in a browser with java script.

Attention: In JSON the result contains the metadata appended after JSON-Document with an ";" as separator.

You could also use this output as an input to another odysseus operator

TODO
  • No labels