Interface IAsyncQueryableStorage
Interface for storage providers which allow SPARQL Queries to be made against them asynchronously.
Inherited Members
System.IDisposable.Dispose()
Namespace: VDS.RDF.Storage
Assembly: dotNetRDF.dll
Syntax
public interface IAsyncQueryableStorage : IAsyncStorageProvider, IStorageCapabilities, IDisposable
Methods
| Improve this Doc View SourceQuery(String, AsyncStorageCallback, Object)
Queries the store asynchronously.
Declaration
void Query(string sparqlQuery, AsyncStorageCallback callback, object state)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | sparqlQuery | SPARQL Query. |
| AsyncStorageCallback | callback | Callback. |
| System.Object | state | State to pass to the callback. |
Exceptions
| Type | Condition |
|---|---|
| RdfQueryException | Thrown if an error occurs performing the query. |
| RdfStorageException | Thrown if an error occurs performing the query. |
| RdfParseException | Thrown if the query is invalid when validated by dotNetRDF prior to passing the query request to the store or if the request succeeds but the store returns malformed results. |
| RdfParserSelectionException | Thrown if the store returns results in a format dotNetRDF does not understand. |
Query(IRdfHandler, ISparqlResultsHandler, String, AsyncStorageCallback, Object)
Queries the store asynchronously.
Declaration
void Query(IRdfHandler rdfHandler, ISparqlResultsHandler resultsHandler, string sparqlQuery, AsyncStorageCallback callback, object state)
Parameters
| Type | Name | Description |
|---|---|---|
| IRdfHandler | rdfHandler | RDF Handler. |
| ISparqlResultsHandler | resultsHandler | Results Handler. |
| System.String | sparqlQuery | SPARQL Query. |
| AsyncStorageCallback | callback | Callback. |
| System.Object | state | State to pass to the callback. |
Exceptions
| Type | Condition |
|---|---|
| RdfQueryException | Thrown if an error occurs performing the query. |
| RdfStorageException | Thrown if an error occurs performing the query. |
| RdfParseException | Thrown if the query is invalid when validated by dotNetRDF prior to passing the query request to the store or if the request succeeds but the store returns malformed results. |
| RdfParserSelectionException | Thrown if the store returns results in a format dotNetRDF does not understand. |