Click or drag to resize

QueryableReadOnlyConnector Class

Provides a Read-Only wrapper that can be placed around another IQueryableStorage instance.
Inheritance Hierarchy
SystemObject
  VDS.RDF.StorageReadOnlyConnector
    VDS.RDF.StorageQueryableReadOnlyConnector

Namespace:  VDS.RDF.Storage
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class QueryableReadOnlyConnector : ReadOnlyConnector, 
	IQueryableStorage, IStorageProvider, IStorageCapabilities, IDisposable

The QueryableReadOnlyConnector type exposes the following members.

Constructors
  NameDescription
Public methodQueryableReadOnlyConnector
Creates a new Queryable Read-Only connection which is a read-only wrapper around another store.
Top
Properties
  NameDescription
Public propertyDeleteSupported
Returns that deleting graphs is not supported.
(Inherited from ReadOnlyConnector.)
Public propertyIOBehaviour
Gets the IO Behaviour of the read-only connection taking into account the IO Behaviour of the underlying store.
(Inherited from ReadOnlyConnector.)
Public propertyIsReadOnly
Returns that the Store is read-only.
(Inherited from ReadOnlyConnector.)
Public propertyIsReady
Returns whether the Store is ready.
(Inherited from ReadOnlyConnector.)
Public propertyListGraphsSupported
Returns that listing Graphs is supported.
(Overrides ReadOnlyConnectorListGraphsSupported.)
Public propertyParentServer
Gets the parent server (if any).
(Inherited from ReadOnlyConnector.)
Public propertyUpdateSupported
Returns that Update is not supported.
(Inherited from ReadOnlyConnector.)
Top
Methods
  NameDescription
Public methodDeleteGraph(String)
Throws an exception as you cannot delete a Graph using a read-only connection.
(Inherited from ReadOnlyConnector.)
Public methodDeleteGraph(Uri)
Throws an exception as you cannot delete a Graph using a read-only connection.
(Inherited from ReadOnlyConnector.)
Public methodDispose
Disposes of the Store.
(Inherited from ReadOnlyConnector.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodListGraphs
Lists the Graphs in the Store.
(Overrides ReadOnlyConnectorListGraphs.)
Public methodLoadGraph(IGraph, String)
Loads a Graph from the underlying Store.
(Inherited from ReadOnlyConnector.)
Public methodLoadGraph(IGraph, Uri)
Loads a Graph from the underlying Store.
(Inherited from ReadOnlyConnector.)
Public methodLoadGraph(IRdfHandler, String)
Loads a Graph from the underlying Store.
(Inherited from ReadOnlyConnector.)
Public methodLoadGraph(IRdfHandler, Uri)
Loads a Graph from the underlying Store.
(Inherited from ReadOnlyConnector.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodQuery(String)
Executes a SPARQL Query on the underlying Store.
Public methodQuery(IRdfHandler, ISparqlResultsHandler, String)
Executes a SPARQL Query on the underlying Store processing the results with an appropriate handler from those provided.
Public methodSaveGraph
Throws an exception since you cannot save a Graph using a read-only connection.
(Inherited from ReadOnlyConnector.)
Public methodSerializeConfiguration
Serializes the Configuration of the Manager.
(Inherited from ReadOnlyConnector.)
Public methodToString
Gets the String representation of the Manager.
(Inherited from ReadOnlyConnector.)
Public methodUpdateGraph(String, IEnumerableTriple, IEnumerableTriple)
Throws an exception since you cannot update a Graph using a read-only connection.
(Inherited from ReadOnlyConnector.)
Public methodUpdateGraph(Uri, IEnumerableTriple, IEnumerableTriple)
Throws an exception since you cannot update a Graph using a read-only connection.
(Inherited from ReadOnlyConnector.)
Top
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.

See Also