Show / Hide Table of Contents

Class ContainsFunction

Represents the SPARQL CONTAINS function.
Inheritance
System.Object
BaseBinaryExpression
BaseBinaryStringFunction
ContainsFunction
Implements
ISparqlExpression
Inherited Members
BaseBinaryStringFunction.Evaluate(SparqlEvaluationContext, Int32)
BaseBinaryStringFunction.IsValidArgumentPair(ILiteralNode, ILiteralNode)
BaseBinaryStringFunction.Type
BaseBinaryExpression._leftExpr
BaseBinaryExpression._rightExpr
BaseBinaryExpression.Variables
BaseBinaryExpression.Arguments
BaseBinaryExpression.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.Sparql.String
Assembly: dotNetRDF.dll
Syntax
public class ContainsFunction : BaseBinaryStringFunction, ISparqlExpression

Constructors

| Improve this Doc View Source

ContainsFunction(ISparqlExpression, ISparqlExpression)

Creates a new SPARQL CONTAINS function.
Declaration
public ContainsFunction(ISparqlExpression stringExpr, ISparqlExpression searchExpr)
Parameters
Type Name Description
ISparqlExpression stringExpr String Expression.
ISparqlExpression searchExpr Search Expression.

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
BaseBinaryExpression.Functor

Methods

| Improve this Doc View Source

ToString()

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

ValueInternal(ILiteralNode, ILiteralNode)

Determines whether the String contains the given Argument.
Declaration
protected override bool ValueInternal(ILiteralNode stringLit, ILiteralNode argLit)
Parameters
Type Name Description
ILiteralNode stringLit String Literal.
ILiteralNode argLit Argument Literal.
Returns
Type Description
System.Boolean
Overrides
BaseBinaryStringFunction.ValueInternal(ILiteralNode, ILiteralNode)

Implements

ISparqlExpression

Extension Methods

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