Click or drag to resize

UnknownFunction Class

Represents an Unknown Function that is not supported by dotNetRDF.
Inheritance Hierarchy

Namespace:  VDS.RDF.Query.Expressions.Functions
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
public class UnknownFunction : ISparqlExpression

The UnknownFunction type exposes the following members.

Public methodUnknownFunction(Uri)
Creates a new Unknown Function that has no Arguments.
Public methodUnknownFunction(Uri, IEnumerableISparqlExpression)
Creates a new Unknown Function that has multiple Arguments.
Public methodUnknownFunction(Uri, ISparqlExpression)
Creates a new Unknown Function that has a Single Argument.
Public propertyArguments
Gets the Arguments of the Expression.
Public propertyCanParallelise
Gets whether an expression can safely be evaluated in parallel.
Public propertyFunctor
Gets the Function URI of the Expression.
Public propertyType
Gets the Expression Type.
Public propertyVariables
Gets the Variables used in the Function.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEvaluate
Gives null as the Value since dotNetRDF does not know how to evaluate Unknown Functions.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Gets the String representation of the Expression.
(Overrides ObjectToString.)
Public methodTransform
Transforms the Expression using the given Transformer.

This exists as a placeholder class so users may choose to parse Unknown Functions and have them appear in queries even if they cannot be evaluated. This is useful when you wish to parse a query locally to check syntactic validity before passing it to an external query processor which may understand how to evaluate the function. Using this placeholder also allows queries containing Unknown Functions to still be formatted properly.

See Also