Show / Hide Table of Contents

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 Source

BindingsPattern()

Creates a new Empty Bindings Pattern.
Declaration
public BindingsPattern()
| Improve this Doc View Source

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 Source

FixedVariables

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>
| Improve this Doc View Source

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>
| Improve this Doc View Source

Tuples

Gets the enumeration of Tuples.
Declaration
public IEnumerable<BindingTuple> Tuples { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<BindingTuple>
| Improve this Doc View Source

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 Source

AddTuple(BindingTuple)

Adds a Tuple to the Bindings pattern.
Declaration
public void AddTuple(BindingTuple t)
Parameters
Type Name Description
BindingTuple t
| Improve this Doc View Source

ToMultiset()

Converts a Bindings Clause to a Multiset.
Declaration
public BaseMultiset ToMultiset()
Returns
Type Description
BaseMultiset
| Improve this Doc View Source

ToString()

Gets the String representation of the Pattern.
Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • BindingsPattern()
    • BindingsPattern(IEnumerable<String>)
  • Properties
    • FixedVariables
    • FloatingVariables
    • Tuples
    • Variables
  • Methods
    • AddTuple(BindingTuple)
    • ToMultiset()
    • ToString()
  • Extension Methods
Back to top Generated by DocFX