Java Doc for Sparqlable.java in  » Search-Engine » semweb4j » org » ontoware » rdf2go » model » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Search Engine » semweb4j » org.ontoware.rdf2go.model 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.ontoware.rdf2go.model.Sparqlable

Sparqlable
public interface Sparqlable (Code)
Interface for SPARQL and other query languages.
author:
   voelkel




Method Summary
 ClosableIterable<Statement>queryConstruct(String query, String querylanguage)
     results for other construct-like queries, as supported byunderlying implementation.Iterator is auto-close, i.e.
 QueryResultTablequerySelect(String query, String querylanguage)
     returns results for queries in other query languages as a QueryResultTable as supported by underlying implementation.
 booleansparqlAsk(String query)
    
 ClosableIterable<Statement>sparqlConstruct(String query)
     results for SPARQL Construct queries, as supported by underlyingimplementation.Iterator is auto-close, i.e.
 ClosableIterable<Statement>sparqlDescribe(String query)
     Iterator must be auto-close, i.e.
 QueryResultTablesparqlSelect(String queryString)
     returns results for SPARQL Select queries, as supported by underlying implementation.



Method Detail
queryConstruct
ClosableIterable<Statement> queryConstruct(String query, String querylanguage) throws QueryLanguageNotSupportedException, MalformedQueryException, ModelRuntimeException(Code)
results for other construct-like queries, as supported byunderlying implementation.Iterator is auto-close, i.e. when last element is fetched, theimplementation must call close().
Parameters:
  query -
Parameters:
  querylanguage -
throws:
  ModelRuntimeException - if the execution throws an exception
throws:
  QueryLanguageNotSupportedException - if the adapter can't understand the given query language
throws:
  MalformedQueryException - if the query is not a valid construct query in the givenquery language



querySelect
QueryResultTable querySelect(String query, String querylanguage) throws QueryLanguageNotSupportedException, MalformedQueryException, ModelRuntimeException(Code)
returns results for queries in other query languages as a QueryResultTable as supported by underlying implementation. For some implementations (Sesame) it is urgently necessary to iterate over all statements of the returned iterator in order to close resources properly. Iterator must be auto-close, i.e. when last element is fetched, the implementation must call close().
Parameters:
  queryString - The select query string a QueryResultTable
throws:
  ModelRuntimeException - if the execution throws an exception
throws:
  QueryLanguageNotSupportedException - if the given query langauge is not supported
throws:
  MalformedQueryException - if the query is not a valid query in the given query language



sparqlAsk
boolean sparqlAsk(String query) throws ModelRuntimeException, MalformedQueryException(Code)
SPARQL ask queries
Parameters:
  query - a SPARQL AKS query the query result as true or false
throws:
  ModelRuntimeException - if the execution throws an exception
throws:
  MalformedQueryException - if the query is not a valid SPARQL ASK query



sparqlConstruct
ClosableIterable<Statement> sparqlConstruct(String query) throws ModelRuntimeException, MalformedQueryException(Code)
results for SPARQL Construct queries, as supported by underlyingimplementation.Iterator is auto-close, i.e. when last element is fetched, theimplementation must call close().
throws:
  ModelRuntimeException - if the execution throws an exception
throws:
  MalformedQueryException - if the query is not a valid SPARQL CONSTRUCT query



sparqlDescribe
ClosableIterable<Statement> sparqlDescribe(String query) throws ModelRuntimeException(Code)
Iterator must be auto-close, i.e. when last element is fetched, the implementation must call close(). This means a regular user can call this method without calling close(), if all elements are consumed.
Parameters:
  query - a ClosableIterable over all statements returned by this query
throws:
  ModelRuntimeException - if the execution throws an exception
throws:
  MalformedQueryException - if the query is not a valid SPARQL DESCRIBE query



sparqlSelect
QueryResultTable sparqlSelect(String queryString) throws MalformedQueryException, ModelRuntimeException(Code)
returns results for SPARQL Select queries, as supported by underlying implementation. For some implementations (Sesame) it is urgently necessary to iterate over all statements of the returned iterator in order to close resources properly. Iterator must be auto-close, i.e. when last element is fetched, the implementation must call close().
Parameters:
  queryString - The SPARQL select query string a QueryResultTable
throws:
  ModelRuntimeException - if an error happens when executing the query
throws:
  MalformedQueryException - if the query is not a valid SPARQL SELECT query



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.