Show / Hide Table of Contents

Class YearFunction

Represents the SPARQL YEAR() Function.

Inheritance
object
BaseUnaryExpression
BaseUnaryDateTimeFunction
YearFromDateTimeFunction
YearFunction
Implements
ISparqlExpression
Inherited Members
YearFromDateTimeFunction.Accept<TResult, TContext, TBinding>(ISparqlExpressionProcessor<TResult, TContext, TBinding>, TContext, TBinding)
YearFromDateTimeFunction.Accept<T>(ISparqlExpressionVisitor<T>)
BaseUnaryDateTimeFunction.Type
BaseUnaryExpression.InnerExpression
BaseUnaryExpression.Variables
BaseUnaryExpression.Arguments
BaseUnaryExpression.CanParallelise
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF.Query.Expressions.Functions.Sparql.DateTime
Assembly: dotNetRdf.dll
Syntax
public class YearFunction : YearFromDateTimeFunction, ISparqlExpression

Constructors

| Edit this page View Source

YearFunction(ISparqlExpression)

Creates a new SPARQL YEAR() Function.

Declaration
public YearFunction(ISparqlExpression expr)
Parameters
Type Name Description
ISparqlExpression expr

Argument Expression.

Properties

| Edit this page View Source

Functor

Gets the Functor of this Expression.

Declaration
public override string Functor { get; }
Property Value
Type Description
string
Overrides
YearFromDateTimeFunction.Functor

Methods

| Edit this page View Source

ToString()

Gets the String representation of this Expression.

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
YearFromDateTimeFunction.ToString()
| Edit this page View Source

Transform(IExpressionTransformer)

Transforms the Expression using the given Transformer.

Declaration
public override ISparqlExpression Transform(IExpressionTransformer transformer)
Parameters
Type Name Description
IExpressionTransformer transformer

Expression Transformer.

Returns
Type Description
ISparqlExpression
Overrides
YearFromDateTimeFunction.Transform(IExpressionTransformer)

Implements

ISparqlExpression

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Constructors
    • YearFunction(ISparqlExpression)
  • Properties
    • Functor
  • Methods
    • ToString()
    • Transform(IExpressionTransformer)
  • Implements
  • Extension Methods
Back to top Generated by DocFX