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<T><int>
System.Collections.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
| Improve this Doc View SourceBindingGroup()
Creates a new Binding Group.
Declaration
public BindingGroup()
BindingGroup(IEnumerable<int>)
Creates a new Binding Group from the specified IDs.
Declaration
public BindingGroup(IEnumerable<int> ids)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<T><int> | 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<T><KeyValuePair<string, INode>> |
BindingIDs
Gets the Binding IDs in the Group.
Declaration
public IEnumerable<int> BindingIDs { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><int> |
Methods
| Improve this Doc View SourceAdd(int)
Adds a Binding ID to the Group.
Declaration
public void Add(int id)
Parameters
Type | Name | Description |
---|---|---|
int | id | ID. |
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. |
GetEnumerator()
Gets the Enumerator for the Binding IDs in the Group.
Declaration
public IEnumerator<int> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<T><int> |
ToString()
Gets a String summarising the group.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |
Overrides
object.ToString()
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable