Click or drag to resize

SparqlExpressionFactory Class

Factory Class for generating Expressions for Sparql Extension Functions.
Inheritance Hierarchy
SystemObject
  VDS.RDF.Query.ExpressionsSparqlExpressionFactory

Namespace:  VDS.RDF.Query.Expressions
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public static class SparqlExpressionFactory

The SparqlExpressionFactory type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberFactories
Gets the Global Custom Expression Factories that are in use.
Top
Methods
  NameDescription
Public methodStatic memberAddCustomFactory
Registers a Custom Expression Factory.
Public methodStatic memberCreateExpression(Uri, ListISparqlExpression)
Tries to create an Expression from the given function Uri and list of argument expressions.
Public methodStatic memberCreateExpression(Uri, ListISparqlExpression, IEnumerableISparqlCustomExpressionFactory)
Tries to create an Expression from the given function Uri and list of argument expressions.
Public methodStatic memberCreateExpression(Uri, ListISparqlExpression, DictionaryString, ISparqlExpression, IEnumerableISparqlCustomExpressionFactory)
Tries to create an Expression from the given function Uri and list of argument expressions.
Top
Remarks

Allows for users of the Library to implement and register Custom Expression Factories which can generate Expressions for their own Extension functions which they wish to use in their SPARQL queries. Custom factories may be globally scoped by registering them with the AddCustomFactory() method or locally by passing them to the three argument constructor of the CreateExpression() method.

See Also