Click or drag to resize

IAsyncQueryableStorageQuery Method (IRdfHandler, ISparqlResultsHandler, String, AsyncStorageCallback, Object)

Queries the store asynchronously.

Namespace:  VDS.RDF.Storage
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
void Query(
	IRdfHandler rdfHandler,
	ISparqlResultsHandler resultsHandler,
	string sparqlQuery,
	AsyncStorageCallback callback,
	Object state
)

Parameters

rdfHandler
Type: VDS.RDFIRdfHandler
RDF Handler.
resultsHandler
Type: VDS.RDFISparqlResultsHandler
Results Handler.
sparqlQuery
Type: SystemString
SPARQL Query.
callback
Type: VDS.RDF.StorageAsyncStorageCallback
Callback.
state
Type: SystemObject
State to pass to the callback.
Exceptions
ExceptionCondition
RdfQueryExceptionThrown if an error occurs performing the query.
RdfStorageExceptionThrown if an error occurs performing the query.
RdfParseExceptionThrown 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.
RdfParserSelectionExceptionThrown if the store returns results in a format dotNetRDF does not understand.
See Also