Show / Hide Table of Contents

Class LiteralExpression

Represents a literal expression.
Inheritance
System.Object
PrimaryExpression<ISparqlExpression>
SparqlExpression
RdfTermExpression
LiteralExpression
NumericExpression
TypedLiteralExpression<T>
Inherited Members
SparqlExpression.In(SparqlExpression[])
SparqlExpression.Gt(ISparqlExpression, ISparqlExpression)
SparqlExpression.Lt(ISparqlExpression, ISparqlExpression)
SparqlExpression.Ge(ISparqlExpression, ISparqlExpression)
SparqlExpression.Le(ISparqlExpression, ISparqlExpression)
PrimaryExpression<ISparqlExpression>.Expression
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.Expressions
Assembly: dotNetRDF.dll
Syntax
public class LiteralExpression : RdfTermExpression

Constructors

| Improve this Doc View Source

LiteralExpression(ISparqlExpression)

Wraps the expression as a literal expression.
Declaration
public LiteralExpression(ISparqlExpression expression)
Parameters
Type Name Description
ISparqlExpression expression

Methods

| Improve this Doc View Source

ToSimpleLiteral()

Returns the constant value of this expression formatted as a simple literal expression.
Declaration
public LiteralExpression ToSimpleLiteral()
Returns
Type Description
LiteralExpression A new LiteralExpression whose value is the constant value of this epression.

Operators

| Improve this Doc View Source

Equality(String, LiteralExpression)

Declaration
public static BooleanExpression operator ==(string left, LiteralExpression right)
Parameters
Type Name Description
System.String left
LiteralExpression right
Returns
Type Description
BooleanExpression
| Improve this Doc View Source

Equality(LiteralExpression, String)

Declaration
public static BooleanExpression operator ==(LiteralExpression left, string right)
Parameters
Type Name Description
LiteralExpression left
System.String right
Returns
Type Description
BooleanExpression
| Improve this Doc View Source

Inequality(String, LiteralExpression)

Declaration
public static BooleanExpression operator !=(string left, LiteralExpression right)
Parameters
Type Name Description
System.String left
LiteralExpression right
Returns
Type Description
BooleanExpression
| Improve this Doc View Source

Inequality(LiteralExpression, String)

Declaration
public static BooleanExpression operator !=(LiteralExpression left, string right)
Parameters
Type Name Description
LiteralExpression left
System.String right
Returns
Type Description
BooleanExpression

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • LiteralExpression(ISparqlExpression)
  • Methods
    • ToSimpleLiteral()
  • Operators
    • Equality(String, LiteralExpression)
    • Equality(LiteralExpression, String)
    • Inequality(String, LiteralExpression)
    • Inequality(LiteralExpression, String)
  • Extension Methods
Back to top Generated by DocFX