Class QueryableReadOnlyConnector
Provides a Read-Only wrapper that can be placed around another IQueryableStorage instance.
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: VDS.RDF.Storage
Assembly: dotNetRDF.dll
Syntax
public class QueryableReadOnlyConnector : ReadOnlyConnector, IConfigurationSerializable, IQueryableStorage, IStorageProvider, IStorageCapabilities, IDisposable
Remarks
This is useful if you want to allow some code read-only access to a mutable store and ensure that it cannot modify the store via the manager instance.
Constructors
| Improve this Doc View SourceQueryableReadOnlyConnector(IQueryableStorage)
Creates a new Queryable Read-Only connection which is a read-only wrapper around another store.
Declaration
public QueryableReadOnlyConnector(IQueryableStorage manager)
Parameters
Type | Name | Description |
---|---|---|
IQueryableStorage | manager | Manager for the Store you want to wrap as read-only. |
Properties
| Improve this Doc View SourceListGraphsSupported
Returns that listing Graphs is supported.
Declaration
public override bool ListGraphsSupported { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
Methods
| Improve this Doc View SourceListGraphs()
Lists the Graphs in the Store.
Declaration
public override IEnumerable<Uri> ListGraphs()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Uri> |
Overrides
| Improve this Doc View SourceQuery(String)
Executes a SPARQL Query on the underlying Store.
Declaration
public object Query(string sparqlQuery)
Parameters
Type | Name | Description |
---|---|---|
System.String | sparqlQuery | SPARQL Query. |
Returns
Type | Description |
---|---|
System.Object |
Query(IRdfHandler, ISparqlResultsHandler, String)
Executes a SPARQL Query on the underlying Store processing the results with an appropriate handler from those provided.
Declaration
public void Query(IRdfHandler rdfHandler, ISparqlResultsHandler resultsHandler, string sparqlQuery)
Parameters
Type | Name | Description |
---|---|---|
IRdfHandler | rdfHandler | RDF Handler. |
ISparqlResultsHandler | resultsHandler | Results Handler. |
System.String | sparqlQuery | SPARQL Query. |
Implements
System.IDisposable