Interface ISparqlOrderBy
Interface for classes that represent SPARQL ORDER BY clauses.
Namespace: VDS.RDF.Query.Ordering
Assembly: dotNetRdf.dll
Syntax
public interface ISparqlOrderBy
Remarks
A SPARQL Order By clause provides a list of orderings, when parsed into the dotNetRDF model this is represented as a single ISparql
Properties
| Improve this Doc View SourceChild
Gets/Sets the Child Ordering that applies if the two Objects are considered equal.
Declaration
ISparqlOrderBy Child { get; set; }
Property Value
Type | Description |
---|---|
ISparql |
Remarks
A SPARQL Order By clause provides a list of orderings, when parsed into the dotNetRDF model this is represented as a single ISparql
Descending
Sets whether the Ordering is Descending.
Declaration
bool Descending { get; set; }
Property Value
Type | Description |
---|---|
System. |
Remarks
A SPARQL Order By clause provides a list of orderings, when parsed into the dotNetRDF model this is represented as a single ISparql
Expression
Gets the Expression used to do the Ordering.
Declaration
ISparqlExpression Expression { get; }
Property Value
Type | Description |
---|---|
ISparql |
Remarks
A SPARQL Order By clause provides a list of orderings, when parsed into the dotNetRDF model this is represented as a single ISparql
IsSimple
Gets whether the Ordering is simple (i.e. applies on variables only).
Declaration
bool IsSimple { get; }
Property Value
Type | Description |
---|---|
System. |
Remarks
A SPARQL Order By clause provides a list of orderings, when parsed into the dotNetRDF model this is represented as a single ISparql
Variables
Gets all the Variables used in the Ordering.
Declaration
IEnumerable<string> Variables { get; }
Property Value
Type | Description |
---|---|
System. |
Remarks
A SPARQL Order By clause provides a list of orderings, when parsed into the dotNetRDF model this is represented as a single ISparql
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
IComparer<Triple> GetComparer(IMatchTriplePattern pattern, ISparqlNodeComparer nodeComparer)
Parameters
Type | Name | Description |
---|---|---|
IMatch |
pattern | Triple Pattern. |
ISparql |
nodeComparer | The node comparer to use. |
Returns
Type | Description |
---|---|
System. |
Remarks
A SPARQL Order By clause provides a list of orderings, when parsed into the dotNetRDF model this is represented as a single ISparql