ReadOnlyConnector Class |
Namespace: VDS.RDF.Storage
The ReadOnlyConnector type exposes the following members.
Name | Description | |
---|---|---|
ReadOnlyConnector |
Creates a new Read-Only connection which is a read-only wrapper around another store.
|
Name | Description | |
---|---|---|
DeleteSupported |
Returns that deleting graphs is not supported.
| |
IOBehaviour |
Gets the IO Behaviour of the read-only connection taking into account the IO Behaviour of the underlying store.
| |
IsReadOnly |
Returns that the Store is read-only.
| |
IsReady |
Returns whether the Store is ready.
| |
ListGraphsSupported |
Returns whether listing graphs is supported by the underlying store.
| |
ParentServer |
Gets the parent server (if any).
| |
UpdateSupported |
Returns that Update is not supported.
|
Name | Description | |
---|---|---|
DeleteGraph(String) |
Throws an exception as you cannot delete a Graph using a read-only connection.
| |
DeleteGraph(Uri) |
Throws an exception as you cannot delete a Graph using a read-only connection.
| |
Dispose |
Disposes of the Store.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ListGraphs |
Gets the list of graphs in the underlying store.
| |
LoadGraph(IGraph, String) |
Loads a Graph from the underlying Store.
| |
LoadGraph(IGraph, Uri) |
Loads a Graph from the underlying Store.
| |
LoadGraph(IRdfHandler, String) |
Loads a Graph from the underlying Store.
| |
LoadGraph(IRdfHandler, Uri) |
Loads a Graph from the underlying Store.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SaveGraph |
Throws an exception since you cannot save a Graph using a read-only connection.
| |
SerializeConfiguration |
Serializes the Configuration of the Manager.
| |
ToString |
Gets the String representation of the Manager.
(Overrides ObjectToString.) | |
UpdateGraph(String, IEnumerableTriple, IEnumerableTriple) |
Throws an exception since you cannot update a Graph using a read-only connection.
| |
UpdateGraph(Uri, IEnumerableTriple, IEnumerableTriple) |
Throws an exception since you cannot update a Graph using a read-only connection.
|
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.