Interface ISparqlCustomExpressionFactory
Interface for implementing SPARQL custom expression factories which turn URI specified functions into SPARQL Expressions.
Namespace: VDS.RDF.Query.Expressions
Assembly: dotNetRDF.dll
Syntax
public interface ISparqlCustomExpressionFactory
Properties
| Improve this Doc View SourceAvailableExtensionAggregates
Gets the Extension Aggregate URIs that this Factory provides.
Declaration
IEnumerable<Uri> AvailableExtensionAggregates { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Uri> |
AvailableExtensionFunctions
Gets the Extension Function URIs that this Factory provides.
Declaration
IEnumerable<Uri> AvailableExtensionFunctions { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Uri> |
Methods
| Improve this Doc View SourceTryCreateExpression(Uri, List<ISparqlExpression>, Dictionary<String, ISparqlExpression>, out ISparqlExpression)
Tries to Create a SPARQL Expression for a function with the given URI and set of arguments.
Declaration
bool TryCreateExpression(Uri u, List<ISparqlExpression> args, Dictionary<string, ISparqlExpression> scalarArguments, out ISparqlExpression expr)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | u | URI of the function. |
System.Collections.Generic.List<ISparqlExpression> | args | List of Arguments. |
System.Collections.Generic.Dictionary<System.String, ISparqlExpression> | scalarArguments | Dictionary of Scalar Arguments which are supportable by aggregates when Syntax is set to SPARQL 1.1 Extended. |
ISparqlExpression | expr | Resulting Expression if able to generate. |
Returns
Type | Description |
---|---|
System.Boolean | True if an expression is generated, false if not. |