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
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

| Edit this page View Source

BindingsPattern()

Creates a new Empty Bindings Pattern.

Declaration
public BindingsPattern()
| Edit this page View Source

BindingsPattern(IEnumerable<string>)

Creates a new Bindings Pattern.

Declaration
public BindingsPattern(IEnumerable<string> vars)
Parameters
Type Name Description
IEnumerable<string> vars

Variables.

Properties

| Edit this page 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
IEnumerable<string>
| Edit this page 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
IEnumerable<string>
| Edit this page View Source

Tuples

Gets the enumeration of Tuples.

Declaration
public IEnumerable<BindingTuple> Tuples { get; }
Property Value
Type Description
IEnumerable<BindingTuple>
| Edit this page View Source

Variables

Gets the enumeration of Variables.

Declaration
public IEnumerable<string> Variables { get; }
Property Value
Type Description
IEnumerable<string>

Methods

| Edit this page View Source

AddTuple(BindingTuple)

Adds a Tuple to the Bindings pattern.

Declaration
public void AddTuple(BindingTuple t)
Parameters
Type Name Description
BindingTuple t
| Edit this page View Source

ToString()

Gets the String representation of the Pattern.

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
AlgebraExtensions.ToMultiset(BindingsPattern)
  • Edit this page
  • View Source
In this article
  • Constructors
    • BindingsPattern()
    • BindingsPattern(IEnumerable<string>)
  • Properties
    • FixedVariables
    • FloatingVariables
    • Tuples
    • Variables
  • Methods
    • AddTuple(BindingTuple)
    • ToString()
  • Extension Methods
Back to top Generated by DocFX