Class BaseOrderBy
Base Class for implementing Sparql ORDER BYs.
Implements
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
| Improve this Doc 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 |
---|---|
System.Boolean |
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 |
---|---|
System.Boolean |
Variables
Gets all the Variables used in the Ordering.
Declaration
public abstract IEnumerable<string> Variables { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><string> |
Methods
| Improve this Doc 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 |
---|---|
System.Collections.Generic.IComparer<T><Triple> |
ToString()
Gets the String representation of the Order By.
Declaration
public override abstract string ToString()
Returns
Type | Description |
---|---|
string |
Overrides
object.ToString()