Click or drag to resize

ISparqlOrderBy Interface

Interface for classes that represent SPARQL ORDER BY clauses.

Namespace:  VDS.RDF.Query.Ordering
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public interface ISparqlOrderBy : IComparer<ISet>

The ISparqlOrderBy type exposes the following members.

Properties
  NameDescription
Public propertyChild
Gets/Sets the Child Ordering that applies if the two Objects are considered equal.
Public propertyContext
Sets the Evaluation Context for the Order By.
Public propertyDescending
Sets whether the Ordering is Descending.
Public propertyExpression
Gets the Expression used to do the Ordering.
Public propertyIsSimple
Gets whether the Ordering is simple (i.e. applies on variables only).
Public propertyVariables
Gets all the Variables used in the Ordering.
Top
Methods
  NameDescription
Public methodCompare
Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
(Inherited from IComparerISet.)
Public methodGetComparer
Generates a Comparer than can be used to do Ordering based on the given Triple Pattern.
Top
Remarks
A SPARQL Order By clause provides a list of orderings, when parsed into the dotNetRDF model this is represented as a single ISparqlOrderBy for the first term in the clause chained to ISparqlOrderBy's for each subsequent term via the Child property.
See Also