Click or drag to resize

DatasetFileManager Class

Allows you to treat an RDF Dataset File - NQuads, TriG or TriX - as a read-only generic store.
Inheritance Hierarchy

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

The DatasetFileManager type exposes the following members.

Constructors
  NameDescription
Public methodDatasetFileManager
Creates a new Dataset File Manager.
Top
Properties
  NameDescription
Public propertyAsyncParentServer
Gets the parent server (if any).
(Inherited from BaseAsyncSafeConnector.)
Public propertyDeleteSupported
Returns that deleting graphs is not supported.
(Overrides BaseAsyncSafeConnectorDeleteSupported.)
Public propertyIOBehaviour
Gets the Save Behaviour of the Store.
(Overrides BaseAsyncSafeConnectorIOBehaviour.)
Public propertyIsReadOnly
Returns that the Manager is read-only.
(Overrides BaseAsyncSafeConnectorIsReadOnly.)
Public propertyIsReady
Returns that the Manager is ready if the underlying file has been loaded.
(Overrides BaseAsyncSafeConnectorIsReady.)
Public propertyListGraphsSupported
Returns that listing graphs is supported.
(Overrides BaseAsyncSafeConnectorListGraphsSupported.)
Public propertyParentServer
Gets the parent server (if any).
(Inherited from BaseAsyncSafeConnector.)
Public propertySourceFile
Gets the Source File this manager represents a read-only view of.
Public propertyUpdateSupported
Returns that Updates are not supported since this is a read-only connection.
(Overrides BaseAsyncSafeConnectorUpdateSupported.)
Top
Methods
  NameDescription
Public methodDeleteGraph(String)
Throws an error since this connection is read-only.
(Overrides BaseAsyncSafeConnectorDeleteGraph(String).)
Public methodDeleteGraph(Uri)
Throws an error since this connection is read-only.
(Overrides BaseAsyncSafeConnectorDeleteGraph(Uri).)
Public methodDeleteGraph(String, AsyncStorageCallback, Object)
Deletes a Graph from the Store.
(Inherited from BaseAsyncSafeConnector.)
Public methodDeleteGraph(Uri, AsyncStorageCallback, Object)
Deletes a Graph from the Store.
(Inherited from BaseAsyncSafeConnector.)
Public methodDispose
Disposes of the Manager.
(Overrides BaseAsyncSafeConnectorDispose.)
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 URIs of Graphs in the Store.
(Overrides BaseAsyncSafeConnectorListGraphs.)
Public methodListGraphs(AsyncStorageCallback, Object)
Lists the Graphs in the Store asynchronously.
(Inherited from BaseAsyncSafeConnector.)
Public methodLoadGraph(IGraph, String)
Loads a Graph from the Dataset.
(Overrides BaseAsyncSafeConnectorLoadGraph(IGraph, String).)
Public methodLoadGraph(IGraph, Uri)
Loads a Graph from the Dataset.
(Overrides BaseAsyncSafeConnectorLoadGraph(IGraph, Uri).)
Public methodLoadGraph(IRdfHandler, String)
Loads a Graph from the Dataset with the given Handler.
(Overrides BaseAsyncSafeConnectorLoadGraph(IRdfHandler, String).)
Public methodLoadGraph(IRdfHandler, Uri)
Loads a Graph from the Dataset with the given Handler.
(Overrides BaseAsyncSafeConnectorLoadGraph(IRdfHandler, Uri).)
Public methodLoadGraph(IGraph, String, AsyncStorageCallback, Object)
Loads a Graph from the Store asynchronously.
(Inherited from BaseAsyncSafeConnector.)
Public methodLoadGraph(IGraph, Uri, AsyncStorageCallback, Object)
Loads a Graph from the Store asynchronously.
(Inherited from BaseAsyncSafeConnector.)
Public methodLoadGraph(IRdfHandler, String, AsyncStorageCallback, Object)
Loads a Graph from the Store asynchronously.
(Inherited from BaseAsyncSafeConnector.)
Public methodLoadGraph(IRdfHandler, Uri, AsyncStorageCallback, Object)
Loads a Graph from the Store asynchronously.
(Inherited from BaseAsyncSafeConnector.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodQuery(String)
Makes a query against the in-memory copy of the Stores data.
Public methodQuery(IRdfHandler, ISparqlResultsHandler, String)
Makes a query against the in-memory copy of the Stores data processing the results with one of the given handlers.
Public methodSaveGraph(IGraph)
Throws an error since this Manager is read-only.
(Overrides BaseAsyncSafeConnectorSaveGraph(IGraph).)
Public methodSaveGraph(IGraph, AsyncStorageCallback, Object)
Saves a Graph to the Store asynchronously.
(Inherited from BaseAsyncSafeConnector.)
Public methodSerializeConfiguration
Serializes the connection's configuration.
Public methodToString
Gets the String representation of the Connection.
(Overrides ObjectToString.)
Public methodUpdateGraph(String, IEnumerableTriple, IEnumerableTriple)
Throws an error since this Manager is read-only.
(Overrides BaseAsyncSafeConnectorUpdateGraph(String, IEnumerableTriple, IEnumerableTriple).)
Public methodUpdateGraph(Uri, IEnumerableTriple, IEnumerableTriple)
Throws an error since this Manager is read-only.
(Overrides BaseAsyncSafeConnectorUpdateGraph(Uri, IEnumerableTriple, IEnumerableTriple).)
Public methodUpdateGraph(String, IEnumerableTriple, IEnumerableTriple, AsyncStorageCallback, Object)
Updates a Graph in the Store asychronously.
(Inherited from BaseAsyncSafeConnector.)
Public methodUpdateGraph(Uri, IEnumerableTriple, IEnumerableTriple, AsyncStorageCallback, Object)
Updates a Graph in the Store asychronously.
(Inherited from BaseAsyncSafeConnector.)
Top
See Also