Class AlgebraExtensions
Static Helper class containing extensions used in the Algebra evaluation process.
Inherited Members
Namespace: VDS.RDF.Query.Algebra
Assembly: dotNetRdf.dll
Syntax
public static class AlgebraExtensions
Methods
| Edit this page View SourceProductWithTimeout(BaseMultiset, BaseMultiset, long)
Calculates the product of two multi-sets asynchronously with a timeout to restrict long running computations.
Declaration
public static BaseMultiset ProductWithTimeout(this BaseMultiset multiset, BaseMultiset other, long timeout)
Parameters
Type | Name | Description |
---|---|---|
BaseMultiset | multiset | Multiset. |
BaseMultiset | other | Other Multiset. |
long | timeout | Timeout, if <=0 no timeout is used and product will be computed synchronously. |
Returns
Type | Description |
---|---|
BaseMultiset |
ToMultiset(BindingsPattern)
Converts a Bindings Clause to a Multiset.
Declaration
public static BaseMultiset ToMultiset(this BindingsPattern pattern)
Parameters
Type | Name | Description |
---|---|---|
BindingsPattern | pattern |
Returns
Type | Description |
---|---|
BaseMultiset |