Class VirtualNodeCache<TNodeID, TKey>
A Cache that maps from Virtual IDs to Materialised Values.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF.Storage.Virtualisation
Assembly: dotNetRDF.dll
Syntax
public class VirtualNodeCache<TNodeID, TKey>
Type Parameters
| Name | Description |
|---|---|
| TNodeID | |
| TKey |
Constructors
| Improve this Doc View SourceVirtualNodeCache(Func<TNodeID, TKey>)
Creates a new Virtual ID cache.
Declaration
public VirtualNodeCache(Func<TNodeID, TKey> keyGenerator)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Func<TNodeID, TKey> | keyGenerator | Function that maps Node IDs to dictionary keys. |
Properties
| Improve this Doc View SourceItem[TNodeID]
Gets/Sets the materialised value for a particular Virtual ID.
Declaration
public INode this[TNodeID id] { get; set; }
Parameters
| Type | Name | Description |
|---|---|---|
| TNodeID | id | Virtual ID. |
Property Value
| Type | Description |
|---|---|
| INode |