Show / Hide Table of Contents

Interface ISparqlOrderBy

Interface for classes that represent SPARQL ORDER BY clauses.
Inherited Members
System.Collections.Generic.IComparer<VDS.RDF.Query.Algebra.ISet>.Compare(VDS.RDF.Query.Algebra.ISet, VDS.RDF.Query.Algebra.ISet)
Namespace: VDS.RDF.Query.Ordering
Assembly: dotNetRDF.dll
Syntax
public interface ISparqlOrderBy : IComparer<ISet>
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.

Properties

| Improve this Doc View Source

Child

Gets/Sets the Child Ordering that applies if the two Objects are considered equal.
Declaration
ISparqlOrderBy Child { get; set; }
Property Value
Type Description
ISparqlOrderBy
| Improve this Doc View Source

Context

Sets the Evaluation Context for the Order By.
Declaration
SparqlEvaluationContext Context { set; }
Property Value
Type Description
SparqlEvaluationContext
| Improve this Doc View Source

Descending

Sets whether the Ordering is Descending.
Declaration
bool Descending { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Expression

Gets the Expression used to do the Ordering.
Declaration
ISparqlExpression Expression { get; }
Property Value
Type Description
ISparqlExpression
| Improve this Doc View Source

IsSimple

Gets whether the Ordering is simple (i.e. applies on variables only).
Declaration
bool IsSimple { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Variables

Gets all the Variables used in the Ordering.
Declaration
IEnumerable<string> Variables { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.String>

Methods

| Improve this Doc View Source

GetComparer(IMatchTriplePattern)

Generates a Comparer than can be used to do Ordering based on the given Triple Pattern.
Declaration
IComparer<Triple> GetComparer(IMatchTriplePattern pattern)
Parameters
Type Name Description
IMatchTriplePattern pattern Triple Pattern.
Returns
Type Description
System.Collections.Generic.IComparer<Triple>

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Properties
    • Child
    • Context
    • Descending
    • Expression
    • IsSimple
    • Variables
  • Methods
    • GetComparer(IMatchTriplePattern)
  • Extension Methods
Back to top Generated by DocFX