Show / Hide Table of Contents

Class BooleanCast

Class representing an XPath Boolean Cast Function.
Inheritance
System.Object
BaseCast
BooleanCast
Implements
ISparqlExpression
Inherited Members
BaseCast._expr
BaseCast.Variables
BaseCast.Type
BaseCast.Arguments
BaseCast.CanParallelise
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)
Namespace: VDS.RDF.Query.Expressions.Functions.XPath.Cast
Assembly: dotNetRDF.dll
Syntax
public class BooleanCast : BaseCast, ISparqlExpression

Constructors

| Improve this Doc View Source

BooleanCast(ISparqlExpression)

Creates a new XPath Boolean Cast Function Expression.
Declaration
public BooleanCast(ISparqlExpression expr)
Parameters
Type Name Description
ISparqlExpression expr Expression to be cast.

Properties

| Improve this Doc View Source

Functor

Gets the Functor of the Expression.
Declaration
public override string Functor { get; }
Property Value
Type Description
System.String
Overrides
BaseCast.Functor

Methods

| Improve this Doc View Source

Evaluate(SparqlEvaluationContext, Int32)

Casts the value of the inner Expression to a Boolean.
Declaration
public override IValuedNode Evaluate(SparqlEvaluationContext context, int bindingID)
Parameters
Type Name Description
SparqlEvaluationContext context Evaluation Context.
System.Int32 bindingID Binding ID.
Returns
Type Description
IValuedNode
Overrides
BaseCast.Evaluate(SparqlEvaluationContext, Int32)
| Improve this Doc View Source

ToString()

Gets the String representation of the Expression.
Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
BaseCast.ToString()
| Improve this Doc 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
BaseCast.Transform(IExpressionTransformer)

Implements

ISparqlExpression

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • BooleanCast(ISparqlExpression)
  • Properties
    • Functor
  • Methods
    • Evaluate(SparqlEvaluationContext, Int32)
    • ToString()
    • Transform(IExpressionTransformer)
  • Implements
  • Extension Methods
Back to top Generated by DocFX