Class BaseBinaryStringFunction
Abstract Base Class for SPARQL String Testing functions which take two arguments.
Inheritance
System.Object
BaseBinaryStringFunction
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)
Namespace: VDS.RDF.Query.Expressions.Functions.Sparql.String
Assembly: dotNetRDF.dll
Syntax
public abstract class BaseBinaryStringFunction : BaseBinaryExpression, ISparqlExpression
Constructors
| Improve this Doc View SourceBaseBinaryStringFunction(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 SourceType
Gets the Expression Type.
Declaration
public override SparqlExpressionType Type { get; }
Property Value
| Type | Description |
|---|---|
| SparqlExpressionType |
Overrides
Methods
| Improve this Doc View SourceEvaluate(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
| Improve this Doc View SourceIsValidArgumentPair(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 |
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 |