Class BaseOrderBy
Base Class for implementing Sparql ORDER BYs.
Implements
Inherited Members
Namespace: VDS.RDF.Query.Ordering
Assembly: dotNetRdf.dll
Syntax
public abstract class BaseOrderBy : ISparqlOrderBy
Properties
| Edit this page View SourceChild
Gets/Sets the Child Order By.
Declaration
public ISparqlOrderBy Child { get; set; }
Property Value
Type | Description |
---|---|
ISparqlOrderBy |
Descending
Sets the Ordering to Descending.
Declaration
public bool Descending { get; set; }
Property Value
Type | Description |
---|---|
bool |
Expression
Gets the Expression used in the Ordering.
Declaration
public abstract ISparqlExpression Expression { get; }
Property Value
Type | Description |
---|---|
ISparqlExpression |
IsSimple
Gets whether the Ordering is Simple.
Declaration
public abstract bool IsSimple { get; }
Property Value
Type | Description |
---|---|
bool |
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 SourceGetComparer(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> |
ToString()
Gets the String representation of the Order By.
Declaration
public override abstract string ToString()
Returns
Type | Description |
---|---|
string |