Show / Hide Table of Contents

Class BaseOrderBy

Base Class for implementing Sparql ORDER BYs.

Inheritance
object
BaseOrderBy
OrderByExpression
OrderByVariable
Implements
ISparqlOrderBy
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF.Query.Ordering
Assembly: dotNetRdf.dll
Syntax
public abstract class BaseOrderBy : ISparqlOrderBy

Properties

| Edit this page View Source

Child

Gets/Sets the Child Order By.

Declaration
public ISparqlOrderBy Child { get; set; }
Property Value
Type Description
ISparqlOrderBy
| Edit this page View Source

Descending

Sets the Ordering to Descending.

Declaration
public bool Descending { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

Expression

Gets the Expression used in the Ordering.

Declaration
public abstract ISparqlExpression Expression { get; }
Property Value
Type Description
ISparqlExpression
| Edit this page View Source

IsSimple

Gets whether the Ordering is Simple.

Declaration
public abstract bool IsSimple { get; }
Property Value
Type Description
bool
| Edit this page View Source

Variables

Gets all the Variables used in the Ordering.

Declaration
public abstract IEnumerable<string> Variables { get; }
Property Value
Type Description
IEnumerable<string>

Methods

| Edit this page View Source

GetComparer(IMatchTriplePattern, ISparqlNodeComparer)

Generates a Comparer than can be used to do Ordering based on the given Triple Pattern.

Declaration
public abstract IComparer<Triple> GetComparer(IMatchTriplePattern pattern, ISparqlNodeComparer nodeComparer)
Parameters
Type Name Description
IMatchTriplePattern pattern

Triple Pattern.

ISparqlNodeComparer nodeComparer

The node comparer to use.

Returns
Type Description
IComparer<Triple>
| Edit this page View Source

ToString()

Gets the String representation of the Order By.

Declaration
public override abstract string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Implements

ISparqlOrderBy

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Properties
    • Child
    • Descending
    • Expression
    • IsSimple
    • Variables
  • Methods
    • GetComparer(IMatchTriplePattern, ISparqlNodeComparer)
    • ToString()
  • Implements
  • Extension Methods
Back to top Generated by DocFX