IVirtualRdfProviderTNodeID, TGraphID Interface |
Namespace: VDS.RDF.Storage.Virtualisation
The IVirtualRdfProviderTNodeID, TGraphID type exposes the following members.
Name | Description | |
---|---|---|
NullID |
Gets the Node ID that is used to indicate that a Node does not exist in the underlying storage.
|
Name | Description | |
---|---|---|
GetBlankNodeID(IBlankNode) |
Given a Blank Node returns a Graph scoped Node ID.
| |
GetBlankNodeID(IBlankNode, Boolean) |
Given a Blank Node returns a Graph scoped Node ID.
| |
GetGraphID(Uri) |
Gets the Graph ID for a Graph URI.
| |
GetGraphID(IGraph) |
Gets the Graph ID for a Graph.
| |
GetGraphID(Uri, Boolean) |
Gets the Graph ID for a Graph URI.
| |
GetGraphID(IGraph, Boolean) |
Gets the Graph ID for a Graph creating it if necessary.
| |
GetGraphUri |
Given a Graph ID returns the value of the Graph URI.
| |
GetID(INode) |
Given a non-blank Node returns the Node ID.
| |
GetID(INode, Boolean) |
Given a non-blank Node returns the Node ID.
| |
GetValue |
Given a Node ID returns the materialised value in the given Graph.
| |
LoadGraphVirtual |
Loads a Graph creating all the Triples with virtual node values.
|
An implementation of this is typically in addition to a more general RDF store implementation (such as an IStorageProvider) and was originally designed and intended for use in creating ISparqlDataset instances which allow out of memory data to be queried more efficiently.
It is expected that most implementations will use a cache to ensure that repeated transformations are as fast as possible.
In order for code that uses this class to function correctly it must be ensured that IDs issued for Blank Nodes are graph scoped, as such a specific method for converting Blank Nodes into Virtual Node IDs is given.