html5-img
1 / 9

Simple Query Interface (SQI)

Simple Query Interface (SQI). David Massart, EUN. S imple Q uery I nterface (SQI). Standard API (CWA - 15454, Nov. 2005) For combining highly heterogeneous metadata repositories Neutral in terms of query languages and results format Supports synchronous and asynchronous query mode

pilis
Download Presentation

Simple Query Interface (SQI)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Simple Query Interface (SQI) David Massart, EUN

  2. Simple Query Interface (SQI) • Standard API (CWA - 15454, Nov. 2005) • For combining highly heterogeneous metadata repositories • Neutral in terms of query languages and results format • Supports synchronous and asynchronous query mode • Based on a session management concept

  3. The SQI Application Program Interface

  4. Asynchronous Query Interface • asynchronousQuery • setSourceLocation • queryResultsListener • Session Management • createSession • createAnonymousSession • destroySession SQI Methods • Query Configuration • setQueryLanguage • setResultsFormat • setMaxQueryResults • setMaxDuration • Synchronous Query Interface • setResultsSetSize • synchronousQuery • getTotalResultsCount

  5. Fault Mechanism • Intentionally unsophisticated • Simplicity rather than richness • Only one fault: SQIFault • Thrown by all methods • Allows: • Free-text messages • Predefined error codes

  6. SQI Error Codes

  7. SQI Error Codes (cont.)

  8. LRE Results XML Header <?xml version="1.0" encoding="UTF-8"?> <strictLomResults xmlns=http://fire.eun.org/xsd/strictLreResults-1.0 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xsi:schemaLocation="http://fire.eun.org/xsd/strictLreResults-1.0 http://fire.eun.org/xsd/strictLreResults-1.0.xsd"> <lom xmlns="http://ltsc.ieee.org/xsd/LOM">...</lom> <lom xmlns="http://ltsc.ieee.org/xsd/LOM">...</lom> </strictLomResults>

  9. Querying the LRE • http://wiki.eun.org/lre-dev-guide/index.php/Main_Page

More Related