Presentation is loading. Please wait.

Presentation is loading. Please wait.

Simple Query Interface (SQI) David Massart, EUN. Simple Query Interface (SQI) Standard API (CWA - 15454, Nov. 2005) For combining highly heterogeneous.

Similar presentations


Presentation on theme: "Simple Query Interface (SQI) David Massart, EUN. Simple Query Interface (SQI) Standard API (CWA - 15454, Nov. 2005) For combining highly heterogeneous."— 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 SQI Methods Query Configuration – setQueryLanguage – setResultsFormat – setMaxQueryResults – setMaxDuration Synchronous Query Interface – setResultsSetSize – synchronousQuery – getTotalResultsCount Asynchronous Query Interface – asynchronousQuery – setSourceLocation – queryResultsListener Session Management – createSession – createAnonymousSession – destroySession

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 <strictLomResults xmlns=http://fire.eun.org/xsd/strictLreResults-1.0http://fire.eun.org/xsd/strictLreResults-1.0 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instancehttp://www.w3.org/2001/XMLSchema-instance xsi:schemaLocation="http://fire.eun.org/xsd/strictLreResults-1.0 http://fire.eun.org/xsd/strictLreResults-1.0.xsdhttp://fire.eun.org/xsd/strictLreResults-1.0.xsd" >...

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


Download ppt "Simple Query Interface (SQI) David Massart, EUN. Simple Query Interface (SQI) Standard API (CWA - 15454, Nov. 2005) For combining highly heterogeneous."

Similar presentations


Ads by Google