| QUERY SERVICE | |||
| METHOD NAME | DESCRIPTION/PRECONDITIONS/EFFECTS | METHOD SIGNATURE | EXCEPTIONS THROWN |
|---|---|---|---|
| QUERY/ QUERY MULTIPLE |
Description:
The Query Service is responsible for executing RQL queries. It evaluates an RQL query, and returns the results in an RDF/XML or TRIG serialization as a bag of resources. The query results can contain both schema and data information from one or several namespaces and/or named graphs. The Query method evaluates a single query and returns the results as described above. The QueryMultiple method evaluates multiple queries concurrently, for performance reasons. The Query Service relies on the RQL Interpreter which is used for both parsing and executing the query at hand, as well as on its capability of spawning several instances of the RQL Interpreter in order to support concurrency control. Preconditions:
In case of a syntactically wrong query, a result will be returned, in the specified format, containing an error message. |
public java.lang.String query( java.lang.String queryString, java.lang.String preferredFormat, gr.forth.ics.rdfsuite.services.DbSettings dbSettings) public java.lang.String[] queryMultiple( java.lang.String[] queryStrings, java.lang.String preferredFormat, gr.forth.ics.rdfsuite.services.DbSettings dbSettings) |
This service does not throw any exceptions. |