Class LeviathanFunctionFactory
Expression Factory which generates Leviathan Function expressions.
Inheritance
System.Object
LeviathanFunctionFactory
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 LeviathanFunctionFactory : ISparqlCustomExpressionFactory
Fields
| Improve this Doc View SourceAll
Constants for Leviathan Boolean Aggregates.
Declaration
public const string All = "all"
Field Value
Type | Description |
---|---|
System. |
Any
Constants for Leviathan Boolean Aggregates.
Declaration
public const string Any = "any"
Field Value
Type | Description |
---|---|
System. |
Cartesian
Constants for Leviathan Numeric Functions.
Declaration
public const string Cartesian = "cartesian"
Field Value
Type | Description |
---|---|
System. |
Cube
Constants for Leviathan Numeric Functions.
Declaration
public const string Cube = "cube"
Field Value
Type | Description |
---|---|
System. |
DegreesToRadians
Constants for Leviathan Numeric Functions.
Declaration
public const string DegreesToRadians = "degrees-to-radians"
Field Value
Type | Description |
---|---|
System. |
E
Constants for Leviathan Numeric Functions.
Declaration
public const string E = "e"
Field Value
Type | Description |
---|---|
System. |
Factorial
Constants for Leviathan Numeric Functions.
Declaration
public const string Factorial = "factorial"
Field Value
Type | Description |
---|---|
System. |
LeviathanFunctionsNamespace
Leviathan Function Namespace.
Declaration
public const string LeviathanFunctionsNamespace = "http://www.dotnetrdf.org/leviathan#"
Field Value
Type | Description |
---|---|
System. |
Ln
Constants for Leviathan Numeric Functions.
Declaration
public const string Ln = "ln"
Field Value
Type | Description |
---|---|
System. |
Log
Constants for Leviathan Numeric Functions.
Declaration
public const string Log = "log"
Field Value
Type | Description |
---|---|
System. |
MD5Hash
Constants for Leviathan String Functions.
Declaration
public const string MD5Hash = "md5hash"
Field Value
Type | Description |
---|---|
System. |
Median
Constants for other Leviathan Aggregate.
Declaration
public const string Median = "median"
Field Value
Type | Description |
---|---|
System. |
Mode
Constants for other Leviathan Aggregate.
Declaration
public const string Mode = "mode"
Field Value
Type | Description |
---|---|
System. |
None
Constants for Leviathan Boolean Aggregates.
Declaration
public const string None = "none"
Field Value
Type | Description |
---|---|
System. |
NumericMax
Constants for Leviathan Numeric Aggregates.
Declaration
public const string NumericMax = "nmax"
Field Value
Type | Description |
---|---|
System. |
NumericMin
Constants for Leviathan Numeric Aggregates.
Declaration
public const string NumericMin = "nmin"
Field Value
Type | Description |
---|---|
System. |
Power
Constants for Leviathan Numeric Functions.
Declaration
public const string Power = "pow"
Field Value
Type | Description |
---|---|
System. |
Pythagoras
Constants for Leviathan Numeric Functions.
Declaration
public const string Pythagoras = "pythagoras"
Field Value
Type | Description |
---|---|
System. |
RadiansToDegrees
Constants for Leviathan Numeric Functions.
Declaration
public const string RadiansToDegrees = "radians-to-degrees"
Field Value
Type | Description |
---|---|
System. |
Random
Constants for Leviathan Numeric Functions.
Declaration
public const string Random = "rnd"
Field Value
Type | Description |
---|---|
System. |
Reciprocal
Constants for Leviathan Numeric Functions.
Declaration
public const string Reciprocal = "reciprocal"
Field Value
Type | Description |
---|---|
System. |
Root
Constants for Leviathan Numeric Functions.
Declaration
public const string Root = "root"
Field Value
Type | Description |
---|---|
System. |
Sha256Hash
Constants for Leviathan String Functions.
Declaration
public const string Sha256Hash = "sha256hash"
Field Value
Type | Description |
---|---|
System. |
Square
Constants for Leviathan Numeric Functions.
Declaration
public const string Square = "sq"
Field Value
Type | Description |
---|---|
System. |
SquareRoot
Constants for Leviathan Numeric Functions.
Declaration
public const string SquareRoot = "sqrt"
Field Value
Type | Description |
---|---|
System. |
Ten
Constants for Leviathan Numeric Functions.
Declaration
public const string Ten = "ten"
Field Value
Type | Description |
---|---|
System. |
TrigCos
Constants for Leviathan Numeric Functions.
Declaration
public const string TrigCos = "cos"
Field Value
Type | Description |
---|---|
System. |
TrigCosec
Constants for Leviathan Numeric Functions.
Declaration
public const string TrigCosec = "cosec"
Field Value
Type | Description |
---|---|
System. |
TrigCosecInv
Constants for Leviathan Numeric Functions.
Declaration
public const string TrigCosecInv = "cosec-1"
Field Value
Type | Description |
---|---|
System. |
TrigCosInv
Constants for Leviathan Numeric Functions.
Declaration
public const string TrigCosInv = "cos-1"
Field Value
Type | Description |
---|---|
System. |
TrigCotan
Constants for Leviathan Numeric Functions.
Declaration
public const string TrigCotan = "cotan"
Field Value
Type | Description |
---|---|
System. |
TrigCotanInv
Constants for Leviathan Numeric Functions.
Declaration
public const string TrigCotanInv = "cotan-1"
Field Value
Type | Description |
---|---|
System. |
TrigSec
Constants for Leviathan Numeric Functions.
Declaration
public const string TrigSec = "sec"
Field Value
Type | Description |
---|---|
System. |
TrigSecInv
Constants for Leviathan Numeric Functions.
Declaration
public const string TrigSecInv = "sec-1"
Field Value
Type | Description |
---|---|
System. |
TrigSin
Constants for Leviathan Numeric Functions.
Declaration
public const string TrigSin = "sin"
Field Value
Type | Description |
---|---|
System. |
TrigSinInv
Constants for Leviathan Numeric Functions.
Declaration
public const string TrigSinInv = "sin-1"
Field Value
Type | Description |
---|---|
System. |
TrigTan
Constants for Leviathan Numeric Functions.
Declaration
public const string TrigTan = "tan"
Field Value
Type | Description |
---|---|
System. |
TrigTanInv
Constants for Leviathan Numeric Functions.
Declaration
public const string TrigTanInv = "tan-1"
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 Leviathan Function expression if the function Uri correseponds to a supported Leviathan 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. |