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