Class ArqFunctionFactory
Expression Factory which generates ARQ Function expressions.
Inheritance
System.Object
ArqFunctionFactory
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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
| Improve this Doc View SourceArqFunctionsNamespace
ARQ Function Namespace.
Declaration
public const string ArqFunctionsNamespace = "http://jena.hpl.hp.com/ARQ/function#"
Field Value
Type | Description |
---|---|
System.String |
BNode
Constants for ARQ Graph functions.
Declaration
public const string BNode = "bnode"
Field Value
Type | Description |
---|---|
System.String |
E
Constants for ARQ Numeric functions.
Declaration
public const string E = "e"
Field Value
Type | Description |
---|---|
System.String |
LocalName
Constants for ARQ Graph functions.
Declaration
public const string LocalName = "localname"
Field Value
Type | Description |
---|---|
System.String |
Max
Constants for ARQ Numeric functions.
Declaration
public const string Max = "max"
Field Value
Type | Description |
---|---|
System.String |
Min
Constants for ARQ Numeric functions.
Declaration
public const string Min = "min"
Field Value
Type | Description |
---|---|
System.String |
Namespace
Constants for ARQ Graph functions.
Declaration
public const string Namespace = "namespace"
Field Value
Type | Description |
---|---|
System.String |
Now
Constants for ARQ Miscellaneous functions.
Declaration
public const string Now = "now"
Field Value
Type | Description |
---|---|
System.String |
Pi
Constants for ARQ Numeric functions.
Declaration
public const string Pi = "pi"
Field Value
Type | Description |
---|---|
System.String |
Sha1Sum
Constants for ARQ Miscellaneous functions.
Declaration
public const string Sha1Sum = "sha1sum"
Field Value
Type | Description |
---|---|
System.String |
StrJoin
Constants for ARQ String functions.
Declaration
public const string StrJoin = "strjoin"
Field Value
Type | Description |
---|---|
System.String |
Substr
Constants for ARQ String functions.
Declaration
public const string Substr = "substr"
Field Value
Type | Description |
---|---|
System.String |
Substring
Constants for ARQ String functions.
Declaration
public const string Substring = "substring"
Field Value
Type | Description |
---|---|
System.String |
Properties
| Improve this Doc View SourceAvailableExtensionAggregates
Gets the Extension Aggregate URIs supported by this Factory.
Declaration
public IEnumerable<Uri> AvailableExtensionAggregates { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Uri> |
AvailableExtensionFunctions
Gets the Extension Function URIs supported by this Factory.
Declaration
public 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 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 |
---|---|---|
System.Uri | u | Function Uri. |
System.Collections.Generic.List<ISparqlExpression> | args | Function Arguments. |
System.Collections.Generic.Dictionary<System.String, ISparqlExpression> | scalarArgs | Scalar Arguments. |
ISparqlExpression | expr | Generated Expression. |
Returns
Type | Description |
---|---|
System.Boolean | Whether an expression was successfully generated. |