Show / Hide Table of Contents

Class BaseBinaryStringFunction

Abstract Base Class for SPARQL String Testing functions which take two arguments.
Inheritance
System.Object
BaseBinaryExpression
BaseBinaryStringFunction
ContainsFunction
StrEndsFunction
StrStartsFunction
Implements
ISparqlExpression
Inherited Members
BaseBinaryExpression._leftExpr
BaseBinaryExpression._rightExpr
BaseBinaryExpression.ToString()
BaseBinaryExpression.Variables
BaseBinaryExpression.Functor
BaseBinaryExpression.Arguments
BaseBinaryExpression.CanParallelise
BaseBinaryExpression.Transform(IExpressionTransformer)
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.Sparql.String
Assembly: dotNetRDF.dll
Syntax
public abstract class BaseBinaryStringFunction : BaseBinaryExpression, ISparqlExpression

Constructors

| Improve this Doc View Source

BaseBinaryStringFunction(ISparqlExpression, ISparqlExpression)

Creates a new Base Binary SPARQL String Function.
Declaration
public BaseBinaryStringFunction(ISparqlExpression stringExpr, ISparqlExpression argExpr)
Parameters
Type Name Description
ISparqlExpression stringExpr String Expression.
ISparqlExpression argExpr Argument Expression.

Properties

| Improve this Doc View Source

Type

Gets the Expression Type.
Declaration
public override SparqlExpressionType Type { get; }
Property Value
Type Description
SparqlExpressionType
Overrides
BaseBinaryExpression.Type

Methods

| Improve this Doc View Source

Evaluate(SparqlEvaluationContext, Int32)

Evaluates the expression.
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
BaseBinaryExpression.Evaluate(SparqlEvaluationContext, Int32)
| Improve this Doc View Source

IsValidArgumentPair(ILiteralNode, ILiteralNode)

Determines whether the Arguments are valid.
Declaration
protected bool IsValidArgumentPair(ILiteralNode stringLit, ILiteralNode argLit)
Parameters
Type Name Description
ILiteralNode stringLit String Literal.
ILiteralNode argLit Argument Literal.
Returns
Type Description
System.Boolean
| Improve this Doc View Source

ValueInternal(ILiteralNode, ILiteralNode)

Abstract method that child classes must implement to.
Declaration
protected abstract bool ValueInternal(ILiteralNode stringLit, ILiteralNode argLit)
Parameters
Type Name Description
ILiteralNode stringLit
ILiteralNode argLit
Returns
Type Description
System.Boolean

Implements

ISparqlExpression

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • BaseBinaryStringFunction(ISparqlExpression, ISparqlExpression)
  • Properties
    • Type
  • Methods
    • Evaluate(SparqlEvaluationContext, Int32)
    • IsValidArgumentPair(ILiteralNode, ILiteralNode)
    • ValueInternal(ILiteralNode, ILiteralNode)
  • Implements
  • Extension Methods
Back to top Generated by DocFX