• User Guide
  • How-To Guides
  • Developer Guide
  • API Documentation
  • FAQs
  • Support
  • API Documentation
Show / Hide Table of Contents

Class LeviathanFunctionFactory

Expression Factory which generates Leviathan Function expressions.
Inheritance
System.Object
LeviathanFunctionFactory
Implements
ISparqlCustomExpressionFactory
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 Source

All

Constants for Leviathan Boolean Aggregates.
Declaration
public const string All = "all"
Field Value
Type Description
System.String
| Improve this Doc View Source

Any

Constants for Leviathan Boolean Aggregates.
Declaration
public const string Any = "any"
Field Value
Type Description
System.String
| Improve this Doc View Source

Cartesian

Constants for Leviathan Numeric Functions.
Declaration
public const string Cartesian = "cartesian"
Field Value
Type Description
System.String
| Improve this Doc View Source

Cube

Constants for Leviathan Numeric Functions.
Declaration
public const string Cube = "cube"
Field Value
Type Description
System.String
| Improve this Doc View Source

DegreesToRadians

Constants for Leviathan Numeric Functions.
Declaration
public const string DegreesToRadians = "degrees-to-radians"
Field Value
Type Description
System.String
| Improve this Doc View Source

E

Constants for Leviathan Numeric Functions.
Declaration
public const string E = "e"
Field Value
Type Description
System.String
| Improve this Doc View Source

Factorial

Constants for Leviathan Numeric Functions.
Declaration
public const string Factorial = "factorial"
Field Value
Type Description
System.String
| Improve this Doc View Source

LeviathanFunctionsNamespace

Leviathan Function Namespace.
Declaration
public const string LeviathanFunctionsNamespace = "http://www.dotnetrdf.org/leviathan#"
Field Value
Type Description
System.String
| Improve this Doc View Source

Ln

Constants for Leviathan Numeric Functions.
Declaration
public const string Ln = "ln"
Field Value
Type Description
System.String
| Improve this Doc View Source

Log

Constants for Leviathan Numeric Functions.
Declaration
public const string Log = "log"
Field Value
Type Description
System.String
| Improve this Doc View Source

MD5Hash

Constants for Leviathan String Functions.
Declaration
public const string MD5Hash = "md5hash"
Field Value
Type Description
System.String
| Improve this Doc View Source

Median

Constants for other Leviathan Aggregate.
Declaration
public const string Median = "median"
Field Value
Type Description
System.String
| Improve this Doc View Source

Mode

Constants for other Leviathan Aggregate.
Declaration
public const string Mode = "mode"
Field Value
Type Description
System.String
| Improve this Doc View Source

None

Constants for Leviathan Boolean Aggregates.
Declaration
public const string None = "none"
Field Value
Type Description
System.String
| Improve this Doc View Source

NumericMax

Constants for Leviathan Numeric Aggregates.
Declaration
public const string NumericMax = "nmax"
Field Value
Type Description
System.String
| Improve this Doc View Source

NumericMin

Constants for Leviathan Numeric Aggregates.
Declaration
public const string NumericMin = "nmin"
Field Value
Type Description
System.String
| Improve this Doc View Source

Power

Constants for Leviathan Numeric Functions.
Declaration
public const string Power = "pow"
Field Value
Type Description
System.String
| Improve this Doc View Source

Pythagoras

Constants for Leviathan Numeric Functions.
Declaration
public const string Pythagoras = "pythagoras"
Field Value
Type Description
System.String
| Improve this Doc View Source

RadiansToDegrees

Constants for Leviathan Numeric Functions.
Declaration
public const string RadiansToDegrees = "radians-to-degrees"
Field Value
Type Description
System.String
| Improve this Doc View Source

Random

Constants for Leviathan Numeric Functions.
Declaration
public const string Random = "rnd"
Field Value
Type Description
System.String
| Improve this Doc View Source

Reciprocal

Constants for Leviathan Numeric Functions.
Declaration
public const string Reciprocal = "reciprocal"
Field Value
Type Description
System.String
| Improve this Doc View Source

Root

Constants for Leviathan Numeric Functions.
Declaration
public const string Root = "root"
Field Value
Type Description
System.String
| Improve this Doc View Source

Sha256Hash

Constants for Leviathan String Functions.
Declaration
public const string Sha256Hash = "sha256hash"
Field Value
Type Description
System.String
| Improve this Doc View Source

Square

Constants for Leviathan Numeric Functions.
Declaration
public const string Square = "sq"
Field Value
Type Description
System.String
| Improve this Doc View Source

SquareRoot

Constants for Leviathan Numeric Functions.
Declaration
public const string SquareRoot = "sqrt"
Field Value
Type Description
System.String
| Improve this Doc View Source

Ten

Constants for Leviathan Numeric Functions.
Declaration
public const string Ten = "ten"
Field Value
Type Description
System.String
| Improve this Doc View Source

TrigCos

Constants for Leviathan Numeric Functions.
Declaration
public const string TrigCos = "cos"
Field Value
Type Description
System.String
| Improve this Doc View Source

TrigCosec

Constants for Leviathan Numeric Functions.
Declaration
public const string TrigCosec = "cosec"
Field Value
Type Description
System.String
| Improve this Doc View Source

TrigCosecInv

Constants for Leviathan Numeric Functions.
Declaration
public const string TrigCosecInv = "cosec-1"
Field Value
Type Description
System.String
| Improve this Doc View Source

TrigCosInv

Constants for Leviathan Numeric Functions.
Declaration
public const string TrigCosInv = "cos-1"
Field Value
Type Description
System.String
| Improve this Doc View Source

TrigCotan

Constants for Leviathan Numeric Functions.
Declaration
public const string TrigCotan = "cotan"
Field Value
Type Description
System.String
| Improve this Doc View Source

TrigCotanInv

Constants for Leviathan Numeric Functions.
Declaration
public const string TrigCotanInv = "cotan-1"
Field Value
Type Description
System.String
| Improve this Doc View Source

TrigSec

Constants for Leviathan Numeric Functions.
Declaration
public const string TrigSec = "sec"
Field Value
Type Description
System.String
| Improve this Doc View Source

TrigSecInv

Constants for Leviathan Numeric Functions.
Declaration
public const string TrigSecInv = "sec-1"
Field Value
Type Description
System.String
| Improve this Doc View Source

TrigSin

Constants for Leviathan Numeric Functions.
Declaration
public const string TrigSin = "sin"
Field Value
Type Description
System.String
| Improve this Doc View Source

TrigSinInv

Constants for Leviathan Numeric Functions.
Declaration
public const string TrigSinInv = "sin-1"
Field Value
Type Description
System.String
| Improve this Doc View Source

TrigTan

Constants for Leviathan Numeric Functions.
Declaration
public const string TrigTan = "tan"
Field Value
Type Description
System.String
| Improve this Doc View Source

TrigTanInv

Constants for Leviathan Numeric Functions.
Declaration
public const string TrigTanInv = "tan-1"
Field Value
Type Description
System.String

Properties

| Improve this Doc View Source

AvailableExtensionAggregates

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>
| Improve this Doc View Source

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 Source

TryCreateExpression(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.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.

Implements

ISparqlCustomExpressionFactory

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Fields
    • All
    • Any
    • Cartesian
    • Cube
    • DegreesToRadians
    • E
    • Factorial
    • LeviathanFunctionsNamespace
    • Ln
    • Log
    • MD5Hash
    • Median
    • Mode
    • None
    • NumericMax
    • NumericMin
    • Power
    • Pythagoras
    • RadiansToDegrees
    • Random
    • Reciprocal
    • Root
    • Sha256Hash
    • Square
    • SquareRoot
    • Ten
    • TrigCos
    • TrigCosec
    • TrigCosecInv
    • TrigCosInv
    • TrigCotan
    • TrigCotanInv
    • TrigSec
    • TrigSecInv
    • TrigSin
    • TrigSinInv
    • TrigTan
    • TrigTanInv
  • Properties
    • AvailableExtensionAggregates
    • AvailableExtensionFunctions
  • Methods
    • TryCreateExpression(Uri, List<ISparqlExpression>, Dictionary<String, ISparqlExpression>, out ISparqlExpression)
  • Implements
  • Extension Methods
Back to top Generated by DocFX