Simple Query Interface (SQI) David Massart, EUN
Simple Query Interface (SQI) Standard API (CWA , 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
The SQI Application Program Interface
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
Fault Mechanism Intentionally unsophisticated Simplicity rather than richness Only one fault: SQIFault – Thrown by all methods – Allows: Free-text messages Predefined error codes
SQI Error Codes
SQI Error Codes (cont.)
LRE Results XML Header <strictLomResults xmlns= xmlns:xsi= xsi:schemaLocation=" >...
Querying the LRE guide/index.php/Main_Page guide/index.php/Main_Page