Class SparqlCastBuilder
Provides methods for casting expressions to XPath types.
Inheritance
System.Object
SparqlCastBuilder
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.Query.Builder
Assembly: dotNetRdf.dll
Syntax
public sealed class SparqlCastBuilder
Methods
| Improve this Doc View SourceAsBoolean()
Creates a cast to xsd:boolean.
Declaration
public BooleanExpression AsBoolean()
Returns
Type | Description |
---|---|
BooleanExpression |
AsDateTime()
Creates a cast to xsd:dateTime.
Declaration
public LiteralExpression AsDateTime()
Returns
Type | Description |
---|---|
LiteralExpression |
AsDecimal()
Creates a cast to xsd:decimal.
Declaration
public NumericExpression<decimal> AsDecimal()
Returns
Type | Description |
---|---|
NumericExpression<decimal> |
AsDouble()
Creates a cast to xsd:double.
Declaration
public NumericExpression<double> AsDouble()
Returns
Type | Description |
---|---|
NumericExpression<double> |
AsFloat()
Creates a cast to xsd:float.
Declaration
public NumericExpression<float> AsFloat()
Returns
Type | Description |
---|---|
NumericExpression<float> |
AsInteger()
Creates a cast to xsd:integer.
Declaration
public NumericExpression<int> AsInteger()
Returns
Type | Description |
---|---|
NumericExpression<int> |
AsString()
Creates a cast to xsd:string.
Declaration
public LiteralExpression AsString()
Returns
Type | Description |
---|---|
LiteralExpression |