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
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)
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<System.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<System.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<System.String> |
Tuples
Gets the enumeration of Tuples.
Declaration
public IEnumerable<BindingTuple> Tuples { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<BindingTuple> |
Variables
Gets the enumeration of Variables.
Declaration
public IEnumerable<string> Variables { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.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 |
ToMultiset()
Converts a Bindings Clause to a Multiset.
Declaration
public BaseMultiset ToMultiset()
Returns
Type | Description |
---|---|
BaseMultiset |
ToString()
Gets the String representation of the Pattern.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()