Class VirtualNodeCache<TNodeID, TKey>
A Cache that maps from Virtual IDs to Materialised Values.
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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<T, TResult><TNodeID, TKey> | keyGenerator | Function that maps Node IDs to dictionary keys. |
Properties
| Improve this Doc View Sourcethis[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 |