Click or drag to resize

LetPattern Class

Class for representing LET Patterns in SPARQL Queries.
Inheritance Hierarchy

Namespace:  VDS.RDF.Query.Patterns
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class LetPattern : BaseTriplePattern, IComparable<LetPattern>, 
	IAssignmentPattern, ITriplePattern, IComparable<ITriplePattern>, IComparable<IAssignmentPattern>

The LetPattern type exposes the following members.

Constructors
  NameDescription
Public methodLetPattern
Creates a new LET Pattern.
Top
Properties
  NameDescription
Public propertyAssignExpression
Gets the Expression that is used to generate values to be assigned.
Public propertyFixedVariables
Returns an empty enumeration as any evaluation error will result in an unbound value so we can't guarantee any variables are bound.
(Overrides BaseTriplePatternFixedVariables.)
Public propertyFloatingVariables
Returns the variable being assigned to as any evaluation error will result in an unbound value so we can't guarantee it is bound.
(Overrides BaseTriplePatternFloatingVariables.)
Public propertyHasNoBlankVariables
Returns true as a LET can never contain Blank Nodes.
(Overrides BaseTriplePatternHasNoBlankVariables.)
Public propertyIsAcceptAll
Returns that this is not an accept all since it is a LET assignment.
(Overrides BaseTriplePatternIsAcceptAll.)
Public propertyPatternType
Gets the Pattern Type.
(Overrides BaseTriplePatternPatternType.)
Public propertyUsesDefaultDataset
Gets whether the Pattern uses the Default Dataset.
(Overrides BaseTriplePatternUsesDefaultDataset.)
Public propertyVariableName
Gets the Name of the Variable to which values will be assigned.
Public propertyVariables
Gets the List of Variables used in the Pattern.
(Inherited from BaseTriplePattern.)
Top
Methods
  NameDescription
Public methodCompareTo(IAssignmentPattern)
Compares this Let to another Let.
Public methodCompareTo(ITriplePattern)
Compares a Triple Pattern to another Triple Pattern.
(Inherited from BaseTriplePattern.)
Public methodCompareTo(LetPattern)
Compares this Let to another Let.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEvaluate
Evaluates a LET assignment in the given Evaluation Context.
(Overrides BaseTriplePatternEvaluate(SparqlEvaluationContext).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Gets the string representation of the LET assignment.
(Overrides BaseTriplePatternToString.)
Top
Fields
  NameDescription
Protected field_vars
Stores the list of variables that are used in the Pattern.
(Inherited from BaseTriplePattern.)
Top
See Also