Class BindingGroup
Represents an Group of Bindings which is used when executing Queries with GROUP BY clauses.
Inheritance
System.Object
BindingGroup
Implements
System.Collections.Generic.IEnumerable<System.Int32>
System.Collections.IEnumerable
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
Assembly: dotNetRDF.dll
Syntax
public class BindingGroup : IEnumerable<int>, IEnumerable
Constructors
| Improve this Doc View SourceBindingGroup()
Creates a new Binding Group.
Declaration
public BindingGroup()
BindingGroup(IEnumerable<Int32>)
Creates a new Binding Group from the specified IDs.
Declaration
public BindingGroup(IEnumerable<int> ids)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.Int32> | ids | IDs. |
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
| Improve this Doc View SourceAssignments
Gets the Variable Assignments for the Group.
Declaration
public IEnumerable<KeyValuePair<string, INode>> Assignments { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, INode>> |
BindingIDs
Gets the Binding IDs in the Group.
Declaration
public IEnumerable<int> BindingIDs { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Int32> |
Methods
| Improve this Doc View SourceAdd(Int32)
Adds a Binding ID to the Group.
Declaration
public void Add(int id)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | id | ID. |
AddAssignment(String, INode)
Adds a Variable Assignment to the Group.
Declaration
public void AddAssignment(string variable, INode value)
Parameters
Type | Name | Description |
---|---|---|
System.String | variable | Variable. |
INode | value | Value. |
GetEnumerator()
Gets the Enumerator for the Binding IDs in the Group.
Declaration
public IEnumerator<int> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<System.Int32> |
ToString()
Gets a String summarising the group.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
Explicit Interface Implementations
| Improve this Doc View SourceIEnumerable.GetEnumerator()
Gets the Enumerator for the Binding IDs in the Group.
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable