Class SimpleVirtualLiteralNode
Simple implementation of a Virtual Literal Node where the virtual IDs are integers.
Inheritance
System.Object
SimpleVirtualLiteralNode
Implements
System.IComparable<INode>
System.IComparable<IBlankNode>
System.IComparable<IGraphLiteralNode>
System.IComparable<ILiteralNode>
System.IComparable<IUriNode>
System.IComparable<IVariableNode>
System.IEquatable<INode>
System.IEquatable<IBlankNode>
System.IEquatable<IGraphLiteralNode>
System.IEquatable<ILiteralNode>
System.IEquatable<IUriNode>
System.IEquatable<IVariableNode>
System.Runtime.Serialization.ISerializable
System.Xml.Serialization.IXmlSerializable
System.IEquatable<SimpleVirtualLiteralNode>
System.IComparable<SimpleVirtualLiteralNode>
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 SimpleVirtualLiteralNode : BaseVirtualLiteralNode<int, int>, IVirtualNode<int, int>, IEquatable<IVirtualNode<int, int>>, IComparable<IVirtualNode<int, int>>, IVirtualIdComparable, IEquatable<BaseVirtualNode<int, int>>, IComparable<BaseVirtualNode<int, int>>, ICanCopy, ILiteralNode, IEquatable<BaseVirtualLiteralNode<int, int>>, IComparable<BaseVirtualLiteralNode<int, int>>, IValuedNode, 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<SimpleVirtualLiteralNode>, IComparable<SimpleVirtualLiteralNode>
Constructors
| Improve this Doc View SourceSimpleVirtualLiteralNode(IGraph, Int32, IVirtualRdfProvider<Int32, Int32>)
Creates a new Virtual Literal Node.
Declaration
public SimpleVirtualLiteralNode(IGraph g, int id, IVirtualRdfProvider<int, int> provider)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph the Node belongs to. |
System.Int32 | id | Virtual ID. |
IVirtualRdfProvider<System.Int32, System.Int32> | provider | Virtual RDF Provider. |
SimpleVirtualLiteralNode(IGraph, Int32, IVirtualRdfProvider<Int32, Int32>, ILiteralNode)
Creates a new Virtual Literal Node.
Declaration
public SimpleVirtualLiteralNode(IGraph g, int id, IVirtualRdfProvider<int, int> provider, ILiteralNode value)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph the Node belongs to. |
System.Int32 | id | Virtual ID. |
IVirtualRdfProvider<System.Int32, System.Int32> | provider | Virtual RDF Provider. |
ILiteralNode | value | Materialised Value. |
Methods
| Improve this Doc View SourceCompareTo(SimpleVirtualLiteralNode)
Compares this Node to another virtual Literal node.
Declaration
public int CompareTo(SimpleVirtualLiteralNode other)
Parameters
Type | Name | Description |
---|---|---|
SimpleVirtualLiteralNode | other | Other Literal Node. |
Returns
Type | Description |
---|---|
System.Int32 |
CompareVirtualId(Int32)
Method to be implemented in derived classes to provide comparison of VirtualId values.
Declaration
public override int CompareVirtualId(int other)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | other | The other virtual ID value to be compared with this node's virtual ID value. |
Returns
Type | Description |
---|---|
System.Int32 | The comparison result. |
Overrides
VDS.RDF.Storage.Virtualisation.BaseVirtualNode<System.Int32, System.Int32>.CompareVirtualId(System.Int32)
|
Improve this Doc
View Source
CopyNode(IGraph)
Copies the Node to another Graph including the materialised value if present.
Declaration
public override INode CopyNode(IGraph target)
Parameters
Type | Name | Description |
---|---|---|
IGraph | target | Target Graph. |
Returns
Type | Description |
---|---|
INode |
Overrides
VDS.RDF.Storage.Virtualisation.BaseVirtualNode<System.Int32, System.Int32>.CopyNode(VDS.RDF.IGraph)
|
Improve this Doc
View Source
Equals(SimpleVirtualLiteralNode)
Determines whether this Node is equal to another virtual Literal node.
Declaration
public bool Equals(SimpleVirtualLiteralNode other)
Parameters
Type | Name | Description |
---|---|---|
SimpleVirtualLiteralNode | other | Other Literal Node. |
Returns
Type | Description |
---|---|
System.Boolean |
Implements
System.IEquatable<T>
System.IComparable<T>
System.IEquatable<T>
System.IComparable<T>
System.IEquatable<T>
System.IComparable<T>
System.IComparable<T>
System.IComparable<T>
System.IComparable<T>
System.IComparable<T>
System.IComparable<T>
System.IComparable<T>
System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>
System.Runtime.Serialization.ISerializable
System.Xml.Serialization.IXmlSerializable
System.IEquatable<T>
System.IComparable<T>