Click or drag to resize

ReadOnlyConnector Class

Provides a Read-Only wrapper that can be placed around another IStorageProvider instance.
Inheritance Hierarchy

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

The ReadOnlyConnector type exposes the following members.

Constructors
  NameDescription
Public methodReadOnlyConnector
Creates a new Read-Only connection which is a read-only wrapper around another store.
Top
Properties
  NameDescription
Public propertyDeleteSupported
Returns that deleting graphs is not supported.
Public propertyIOBehaviour
Gets the IO Behaviour of the read-only connection taking into account the IO Behaviour of the underlying store.
Public propertyIsReadOnly
Returns that the Store is read-only.
Public propertyIsReady
Returns whether the Store is ready.
Public propertyListGraphsSupported
Returns whether listing graphs is supported by the underlying store.
Public propertyParentServer
Gets the parent server (if any).
Public propertyUpdateSupported
Returns that Update is not supported.
Top
Methods
  NameDescription
Public methodDeleteGraph(String)
Throws an exception as you cannot delete a Graph using a read-only connection.
Public methodDeleteGraph(Uri)
Throws an exception as you cannot delete a Graph using a read-only connection.
Public methodDispose
Disposes of the Store.
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
Gets the list of graphs in the underlying store.
Public methodLoadGraph(IGraph, String)
Loads a Graph from the underlying Store.
Public methodLoadGraph(IGraph, Uri)
Loads a Graph from the underlying Store.
Public methodLoadGraph(IRdfHandler, String)
Loads a Graph from the underlying Store.
Public methodLoadGraph(IRdfHandler, Uri)
Loads a Graph from the underlying Store.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSaveGraph
Throws an exception since you cannot save a Graph using a read-only connection.
Public methodSerializeConfiguration
Serializes the Configuration of the Manager.
Public methodToString
Gets the String representation of the Manager.
(Overrides ObjectToString.)
Public methodUpdateGraph(String, IEnumerableTriple, IEnumerableTriple)
Throws an exception since you cannot update a Graph using a read-only connection.
Public methodUpdateGraph(Uri, IEnumerableTriple, IEnumerableTriple)
Throws an exception since you cannot update a Graph using a read-only connection.
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