BaseVirtualNodeTNodeID, TGraphID Class |
Namespace: VDS.RDF.Storage.Virtualisation
public abstract class BaseVirtualNode<TNodeID, TGraphID> : IVirtualNode<TNodeID, TGraphID>, INode, IComparable<INode>, IComparable<IBlankNode>, IComparable<IGraphLiteralNode>, IComparable<ILiteralNode>, IComparable<IUriNode>, IComparable<IVariableNode>, IEquatable<INode>, IEquatable<IBlankNode>, IEquatable<IGraphLiteralNode>, IEquatable<ILiteralNode>, IEquatable<IUriNode>, IEquatable<IVariableNode>, ISerializable, IXmlSerializable, IEquatable<IVirtualNode<TNodeID, TGraphID>>, IComparable<IVirtualNode<TNodeID, TGraphID>>, IVirtualIdComparable, IEquatable<BaseVirtualNode<TNodeID, TGraphID>>, IComparable<BaseVirtualNode<TNodeID, TGraphID>>, ICanCopy
The BaseVirtualNodeTNodeID, TGraphID type exposes the following members.
Name | Description | |
---|---|---|
BaseVirtualNodeTNodeID, TGraphID(IGraph, NodeType, TNodeID, IVirtualRdfProviderTNodeID, TGraphID) |
Creates a new Base Virtual Node.
| |
BaseVirtualNodeTNodeID, TGraphID(IGraph, NodeType, TNodeID, IVirtualRdfProviderTNodeID, TGraphID, INode) |
Creates a new Base Virtual Node.
|
Name | Description | |
---|---|---|
Graph |
Gets the Graph the Node belongs to.
| |
GraphUri |
Gets/Sets the Graph URI of the Node.
| |
IsMaterialised |
Gets whether the Nodes value has been materialised.
| |
MaterialisedValue |
Gets the materialised value of the Node forcing it to be materialised if it hasn't already.
| |
NodeType |
Gets the Type of the Node.
| |
Provider |
Gets the Virtual RDF Provider of the Node.
| |
VirtualID |
Gets the Virtual ID of the Node.
|
Name | Description | |
---|---|---|
CompareTo(BaseVirtualNodeTNodeID, TGraphID) |
Compares this Node to another Virtual Node.
| |
CompareTo(IBlankNode) |
Compares this Node to another Blank Node.
| |
CompareTo(IGraphLiteralNode) |
Compares this Node to another Graph LiteralNode.
| |
CompareTo(ILiteralNode) |
Compares this Node to another Literal Node.
| |
CompareTo(INode) |
Compares this Node to another Node.
| |
CompareTo(IUriNode) |
Compares this Node to another URI Node.
| |
CompareTo(IVariableNode) |
Compares this Node to another Variable Node.
| |
CompareTo(IVirtualNodeTNodeID, TGraphID) |
Compares this Node to another Virtual Node.
| |
CompareVirtualId |
Method to be implemented in derived classes to provide comparison of VirtualId values.
| |
CopyNode |
Copies the Virtual Node into another Graph.
| |
Equals(Object) |
Checks this Node for equality against another Object.
(Overrides ObjectEquals(Object).) | |
Equals(BaseVirtualNodeTNodeID, TGraphID) |
Checks this Node for equality against another Virtual Node.
| |
Equals(IBlankNode) |
Checks this Node for equality against another Blank Node.
| |
Equals(IGraphLiteralNode) |
Checks this Node for equality against another Graph Literal Node.
| |
Equals(ILiteralNode) |
Checks this Node for equality against another Literal Node.
| |
Equals(INode) |
Checks this Node for equality against another Node.
| |
Equals(IUriNode) |
Checks this Node for equality against another URI Node.
| |
Equals(IVariableNode) |
Checks this Node for equality against another Variable Node.
| |
Equals(IVirtualNodeTNodeID, TGraphID) |
Checks this Node for equality against another Virtual Node.
| |
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 |
Gets the Hash Code of the Virtual Node.
(Overrides ObjectGetHashCode.) | |
GetObjectData |
Gets the data for serialization.
| |
GetSchema |
Gets the schema for XML serialization.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MaterialiseValue |
Materialises the Value if it is not already materialised.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnMaterialise |
Called after the value is materialised for the first time.
| |
ReadXml |
Reads the data for XML deserialization.
| |
ToString |
Gets the String representation of the Node.
(Overrides ObjectToString.) | |
ToString(INodeFormatter) |
Gets the String representation of the Node formatted with the given Node formatter.
| |
ToString(INodeFormatter, TripleSegment) |
Gets the String representation of the Node formatted with the given Node formatter.
| |
TryCompareVirtualId |
Attempt to compare this node with another node.
| |
TryVirtualEquality |
Tries to check for equality using virtual node IDs.
| |
WriteXml |
Writes the data for XML deserialization.
|
Name | Description | |
---|---|---|
AsDynamic |
Dynamically wraps a node.
(Defined by DynamicExtensions.) | |
AsValuedNode |
Takes a INode and converts it to a IValuedNode if it is not already an instance that implements the interface.
(Defined by ValuedNodeExtensions.) | |
CopyNode(IGraph) | Overloaded.
Copies a Node to the target Graph.
(Defined by Extensions.) | |
CopyNode(IGraph, Boolean) | Overloaded.
Copies a Node to the target Graph.
(Defined by Extensions.) | |
IsListRoot |
Gets whether a given Node is valid as a List Root, this does not guarantee that the list itself is valid simply that the Node appears to be the root of a list.
(Defined by Extensions.) |
As far as possible equality checks are carried out using these IDs and limited comparisons may also be done this way. More specific implementations may wish to derive from this class in order to override the default comparison implementation to further reduce the number of places where value materialisation is done.
Note that this class does not implement any of the specialised Node interfaces and instead relies on the casting of its materialised value to an appropriately typed node to provide the true values to code that needs it.