Interface ISet
Interface for Sets which represents a possible solution during SPARQL evaluation.
Inherited Members
System.IEquatable<VDS.RDF.Query.Algebra.ISet>.Equals(VDS.RDF.Query.Algebra.ISet)
Assembly: dotNetRDF.dll
Syntax
public interface ISet : IEquatable<ISet>
Properties
|
Improve this Doc
View Source
ID
Gets/Sets the ID of the Set.
Declaration
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Item[String]
Retrieves the Value in this set for the given Variable.
Declaration
INode this[string variable] { get; }
Parameters
Type |
Name |
Description |
System.String |
variable |
Variable. |
Property Value
Type |
Description |
INode |
Either a Node or a null. |
|
Improve this Doc
View Source
Values
Gets the Values in the Set.
Declaration
IEnumerable<INode> Values { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<INode> |
|
|
Improve this Doc
View Source
Variables
Gets the Variables in the Set.
Declaration
IEnumerable<string> Variables { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<System.String> |
|
Methods
|
Improve this Doc
View Source
Add(String, INode)
Adds a Value for a Variable to the Set.
Declaration
void Add(string variable, INode value)
Parameters
Type |
Name |
Description |
System.String |
variable |
Variable. |
INode |
value |
Value. |
|
Improve this Doc
View Source
ContainsVariable(String)
Checks whether the Set contains a given Variable.
Declaration
bool ContainsVariable(string variable)
Parameters
Type |
Name |
Description |
System.String |
variable |
Variable. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Copy()
Copies the Set.
Declaration
Returns
|
Improve this Doc
View Source
IsCompatibleWith(ISet, IEnumerable<String>)
Gets whether the Set is compatible with a given set based on the given variables.
Declaration
bool IsCompatibleWith(ISet s, IEnumerable<string> vars)
Parameters
Type |
Name |
Description |
ISet |
s |
Set. |
System.Collections.Generic.IEnumerable<System.String> |
vars |
Variables. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsMinusCompatibleWith(ISet, IEnumerable<String>)
Gets whether the Set is minus compatible with a given set based on the given variables.
Declaration
bool IsMinusCompatibleWith(ISet s, IEnumerable<string> vars)
Parameters
Type |
Name |
Description |
ISet |
s |
Set. |
System.Collections.Generic.IEnumerable<System.String> |
vars |
Variables. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Join(ISet)
Joins the set to another set.
Declaration
Parameters
Type |
Name |
Description |
ISet |
other |
Other Set. |
Returns
|
Improve this Doc
View Source
Remove(String)
Removes a Value for a Variable from the Set.
Declaration
void Remove(string variable)
Parameters
Type |
Name |
Description |
System.String |
variable |
Variable. |
Extension Methods