Class BindingsPattern
Represents a set of Bindings for a SPARQL Query or part thereof i.e. represents the VALUES clause.
Inheritance
System.Object
BindingsPattern
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF.Query.Patterns
Assembly: dotNetRdf.dll
Syntax
public class BindingsPattern
Constructors
| Improve this Doc View SourceBindingsPattern()
Creates a new Empty Bindings Pattern.
Declaration
public BindingsPattern()
BindingsPattern(IEnumerable<string>)
Creates a new Bindings Pattern.
Declaration
public BindingsPattern(IEnumerable<string> vars)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<T><string> | vars | Variables. |
Properties
| Improve this Doc View SourceFixedVariables
Get the enumeration of fixed variables i.e. those guaranteed to be bound.
Declaration
public IEnumerable<string> FixedVariables { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><string> |
FloatingVariables
Gets the enumeration of floating variables i.e. those not guaranteed to be bound.
Declaration
public IEnumerable<string> FloatingVariables { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><string> |
Tuples
Gets the enumeration of Tuples.
Declaration
public IEnumerable<BindingTuple> Tuples { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><BindingTuple> |
Variables
Gets the enumeration of Variables.
Declaration
public IEnumerable<string> Variables { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><string> |
Methods
| Improve this Doc View SourceAddTuple(BindingTuple)
Adds a Tuple to the Bindings pattern.
Declaration
public void AddTuple(BindingTuple t)
Parameters
Type | Name | Description |
---|---|---|
BindingTuple | t |
ToString()
Gets the String representation of the Pattern.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |
Overrides
object.ToString()