Show / Hide Table of Contents

Class BindingGroup

Represents an Group of Bindings which is used when executing Queries with GROUP BY clauses.

Inheritance
object
BindingGroup
Implements
IEnumerable<int>
IEnumerable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF.Query
Assembly: dotNetRdf.dll
Syntax
public class BindingGroup : IEnumerable<int>, IEnumerable

Constructors

| Edit this page View Source

BindingGroup()

Creates a new Binding Group.

Declaration
public BindingGroup()
| Edit this page View Source

BindingGroup(IEnumerable<int>)

Creates a new Binding Group from the specified IDs.

Declaration
public BindingGroup(IEnumerable<int> ids)
Parameters
Type Name Description
IEnumerable<int> ids

IDs.

| Edit this page View Source

BindingGroup(BindingGroup)

Creates a new Binding Group which is a sub-group of the given Parent Group.

Declaration
public BindingGroup(BindingGroup parent)
Parameters
Type Name Description
BindingGroup parent

Parent Group.

Properties

| Edit this page View Source

Assignments

Gets the Variable Assignments for the Group.

Declaration
public IEnumerable<KeyValuePair<string, INode>> Assignments { get; }
Property Value
Type Description
IEnumerable<KeyValuePair<string, INode>>
| Edit this page View Source

BindingIDs

Gets the Binding IDs in the Group.

Declaration
public IEnumerable<int> BindingIDs { get; }
Property Value
Type Description
IEnumerable<int>

Methods

| Edit this page View Source

Add(int)

Adds a Binding ID to the Group.

Declaration
public void Add(int id)
Parameters
Type Name Description
int id

ID.

| Edit this page View Source

AddAssignment(string, INode)

Adds a Variable Assignment to the Group.

Declaration
public void AddAssignment(string variable, INode value)
Parameters
Type Name Description
string variable

Variable.

INode value

Value.

| Edit this page View Source

GetEnumerator()

Gets the Enumerator for the Binding IDs in the Group.

Declaration
public IEnumerator<int> GetEnumerator()
Returns
Type Description
IEnumerator<int>
| Edit this page View Source

ToString()

Gets a String summarising the group.

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

Implements

IEnumerable<T>
IEnumerable

Extension Methods

Extensions.ChunkBy<T>(IEnumerable<T>, int)
Extensions.IsDisjoint<T>(IEnumerable<T>, IEnumerable<T>)
Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Constructors
    • BindingGroup()
    • BindingGroup(IEnumerable<int>)
    • BindingGroup(BindingGroup)
  • Properties
    • Assignments
    • BindingIDs
  • Methods
    • Add(int)
    • AddAssignment(string, INode)
    • GetEnumerator()
    • ToString()
  • Implements
  • Extension Methods
Back to top Generated by DocFX