Class ArqFunctionFactory
Expression Factory which generates ARQ Function expressions.
Implements
Inherited Members
Namespace: VDS.RDF.Query.Expressions
Assembly: dotNetRdf.dll
Syntax
public class ArqFunctionFactory : ISparqlCustomExpressionFactory
Remarks
Designed to help provide feature parity with the ARQ query engine contained in Jena.
Fields
| Edit this page View SourceArqFunctionsNamespace
ARQ Function Namespace.
Declaration
public const string ArqFunctionsNamespace = "http://jena.hpl.hp.com/ARQ/function#"
Field Value
Type | Description |
---|---|
string |
BNode
Constants for ARQ Graph functions.
Declaration
public const string BNode = "bnode"
Field Value
Type | Description |
---|---|
string |
E
Constants for ARQ Numeric functions.
Declaration
public const string E = "e"
Field Value
Type | Description |
---|---|
string |
LocalName
Constants for ARQ Graph functions.
Declaration
public const string LocalName = "localname"
Field Value
Type | Description |
---|---|
string |
Max
Constants for ARQ Numeric functions.
Declaration
public const string Max = "max"
Field Value
Type | Description |
---|---|
string |
Min
Constants for ARQ Numeric functions.
Declaration
public const string Min = "min"
Field Value
Type | Description |
---|---|
string |
Namespace
Constants for ARQ Graph functions.
Declaration
public const string Namespace = "namespace"
Field Value
Type | Description |
---|---|
string |
Now
Constants for ARQ Miscellaneous functions.
Declaration
public const string Now = "now"
Field Value
Type | Description |
---|---|
string |
Pi
Constants for ARQ Numeric functions.
Declaration
public const string Pi = "pi"
Field Value
Type | Description |
---|---|
string |
Sha1Sum
Constants for ARQ Miscellaneous functions.
Declaration
public const string Sha1Sum = "sha1sum"
Field Value
Type | Description |
---|---|
string |
StrJoin
Constants for ARQ String functions.
Declaration
public const string StrJoin = "strjoin"
Field Value
Type | Description |
---|---|
string |
Substr
Constants for ARQ String functions.
Declaration
public const string Substr = "substr"
Field Value
Type | Description |
---|---|
string |
Substring
Constants for ARQ String functions.
Declaration
public const string Substring = "substring"
Field Value
Type | Description |
---|---|
string |
Properties
| Edit this page View SourceAvailableExtensionAggregates
Gets the Extension Aggregate URIs supported by this Factory.
Declaration
public IEnumerable<Uri> AvailableExtensionAggregates { get; }
Property Value
Type | Description |
---|---|
IEnumerable<Uri> |
AvailableExtensionFunctions
Gets the Extension Function URIs supported by this Factory.
Declaration
public IEnumerable<Uri> AvailableExtensionFunctions { get; }
Property Value
Type | Description |
---|---|
IEnumerable<Uri> |
Methods
| Edit this page View SourceTryCreateExpression(Uri, List<ISparqlExpression>, Dictionary<string, ISparqlExpression>, out ISparqlExpression)
Tries to create an ARQ Function expression if the function Uri correseponds to a supported ARQ Function.
Declaration
public bool TryCreateExpression(Uri u, List<ISparqlExpression> args, Dictionary<string, ISparqlExpression> scalarArgs, out ISparqlExpression expr)
Parameters
Type | Name | Description |
---|---|---|
Uri | u | Function Uri. |
List<ISparqlExpression> | args | Function Arguments. |
Dictionary<string, ISparqlExpression> | scalarArgs | Scalar Arguments. |
ISparqlExpression | expr | Generated Expression. |
Returns
Type | Description |
---|---|
bool | Whether an expression was successfully generated. |