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. |
BNode
Constants for ARQ Graph functions.
Declaration
public const string BNode = "bnode"
Field Value
Type | Description |
---|---|
System. |
E
Constants for ARQ Numeric functions.
Declaration
public const string E = "e"
Field Value
Type | Description |
---|---|
System. |
LocalName
Constants for ARQ Graph functions.
Declaration
public const string LocalName = "localname"
Field Value
Type | Description |
---|---|
System. |
Max
Constants for ARQ Numeric functions.
Declaration
public const string Max = "max"
Field Value
Type | Description |
---|---|
System. |
Min
Constants for ARQ Numeric functions.
Declaration
public const string Min = "min"
Field Value
Type | Description |
---|---|
System. |
Namespace
Constants for ARQ Graph functions.
Declaration
public const string Namespace = "namespace"
Field Value
Type | Description |
---|---|
System. |
Now
Constants for ARQ Miscellaneous functions.
Declaration
public const string Now = "now"
Field Value
Type | Description |
---|---|
System. |
Pi
Constants for ARQ Numeric functions.
Declaration
public const string Pi = "pi"
Field Value
Type | Description |
---|---|
System. |
Sha1Sum
Constants for ARQ Miscellaneous functions.
Declaration
public const string Sha1Sum = "sha1sum"
Field Value
Type | Description |
---|---|
System. |
StrJoin
Constants for ARQ String functions.
Declaration
public const string StrJoin = "strjoin"
Field Value
Type | Description |
---|---|
System. |
Substr
Constants for ARQ String functions.
Declaration
public const string Substr = "substr"
Field Value
Type | Description |
---|---|
System. |
Substring
Constants for ARQ String functions.
Declaration
public const string Substring = "substring"
Field Value
Type | Description |
---|---|
System. |
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. |
AvailableExtensionFunctions
Gets the Extension Function URIs supported by this Factory.
Declaration
public IEnumerable<Uri> AvailableExtensionFunctions { get; }
Property Value
Type | Description |
---|---|
System. |
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. |
u | Function Uri. |
System. |
args | Function Arguments. |
System. |
scalarArgs | Scalar Arguments. |
ISparql |
expr | Generated Expression. |
Returns
Type | Description |
---|---|
System. |
Whether an expression was successfully generated. |