Class StrStartsFunction
Represents the SPARQL STRSTARTS Function.
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 class StrStartsFunction : BaseBinaryStringFunction, ISparqlExpression
Constructors
| Improve this Doc View SourceStrStartsFunction(ISparqlExpression, ISparqlExpression)
Creates a new STRSTARTS() function.
Declaration
public StrStartsFunction(ISparqlExpression stringExpr, ISparqlExpression startsExpr)
Parameters
Type | Name | Description |
---|---|---|
ISparqlExpression | stringExpr | String Expression. |
ISparqlExpression | startsExpr | Argument Expression. |
Properties
| Improve this Doc View SourceFunctor
Gets the Functor of the Expression.
Declaration
public override string Functor { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
| Improve this Doc View SourceToString()
Gets the String representation of the Expression.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
| Improve this Doc View SourceTransform(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
| Improve this Doc View SourceValueInternal(ILiteralNode, ILiteralNode)
Determines whether the given String Literal starts with the given Argument Literal.
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 |