Class SparqlCastBuilder
Provides methods for casting expressions to XPath types.
Inheritance
System.Object
SparqlCastBuilder
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)
System.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<System.Decimal> |
AsDouble()
Creates a cast to xsd:double.
Declaration
public NumericExpression<double> AsDouble()
Returns
Type | Description |
---|---|
NumericExpression<System.Double> |
AsFloat()
Creates a cast to xsd:float.
Declaration
public NumericExpression<float> AsFloat()
Returns
Type | Description |
---|---|
NumericExpression<System.Single> |
AsInteger()
Creates a cast to xsd:integer.
Declaration
public NumericExpression<int> AsInteger()
Returns
Type | Description |
---|---|
NumericExpression<System.Int32> |
AsString()
Creates a cast to xsd:string.
Declaration
public LiteralExpression AsString()
Returns
Type | Description |
---|---|
LiteralExpression |