Class FloatCast
Class representing an XPath Float Cast 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.XPath.Cast
Assembly: dotNetRDF.dll
Syntax
public class FloatCast : BaseCast, ISparqlExpression
Constructors
| Improve this Doc View SourceFloatCast(ISparqlExpression)
Creates a new XPath Float Cast Function Expression.
Declaration
public FloatCast(ISparqlExpression expr)
Parameters
Type | Name | Description |
---|---|---|
ISparqlExpression | expr | Expression to be cast. |
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 SourceEvaluate(SparqlEvaluationContext, Int32)
Casts the value of the inner Expression to a Float.
Declaration
public override IValuedNode Evaluate(SparqlEvaluationContext context, int bindingID)
Parameters
Type | Name | Description |
---|---|---|
SparqlEvaluationContext | context | Evaluation Context. |
System.Int32 | bindingID | Vinding ID. |
Returns
Type | Description |
---|---|
IValuedNode |
Overrides
| 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 |