Click or drag to resize

SparqlOrderingComparer Class

Comparer class for use in SPARQL ORDER BY - implements the Semantics broadly similar to the relational operator but instead of erroring using Node/Lexical ordering where an error would occur it makes an appropriate decision.
Inheritance Hierarchy

Namespace:  VDS.RDF.Query
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class SparqlOrderingComparer : SparqlNodeComparer

The SparqlOrderingComparer type exposes the following members.

Constructors
  NameDescription
Public methodSparqlOrderingComparer
Initializes a new instance of the SparqlOrderingComparer class
Top
Methods
  NameDescription
Public methodCompare(INode, INode)
Compares two Nodes.
(Overrides SparqlNodeComparerCompare(INode, INode).)
Public methodCompare(IValuedNode, IValuedNode)
Compares two Nodes.
(Overrides SparqlNodeComparerCompare(IValuedNode, IValuedNode).)
Protected methodDateCompare(INode, INode)
Compares two Dates for Date ordering.
(Inherited from SparqlNodeComparer.)
Protected methodDateCompare(IValuedNode, IValuedNode)
Compares two Dates for Date ordering.
(Inherited from SparqlNodeComparer.)
Protected methodDateTimeCompare(INode, INode)
Compares two Date Times for Date Time ordering.
(Inherited from SparqlNodeComparer.)
Protected methodDateTimeCompare(IValuedNode, IValuedNode)
Compares two Date Times for Date Time ordering.
(Overrides SparqlNodeComparerDateTimeCompare(IValuedNode, IValuedNode).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodNumericCompare(INode, INode, SparqlNumericType)
Compares two Nodes for Numeric Ordering.
(Inherited from SparqlNodeComparer.)
Protected methodNumericCompare(IValuedNode, IValuedNode, SparqlNumericType)
Compares two Nodes for Numeric Ordering.
(Inherited from SparqlNodeComparer.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also