Click or drag to resize

NullMultiset Class

Represents a Multiset when there are no possible Solutions.
Inheritance Hierarchy

Namespace:  VDS.RDF.Query.Algebra
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
public class NullMultiset : BaseMultiset

The NullMultiset type exposes the following members.

Public methodNullMultiset
Initializes a new instance of the NullMultiset class
Public propertyCount
Gets the Count of Sets in the Multiset.
(Inherited from BaseMultiset.)
Public propertyIsEmpty
Returns true since the Null Multiset is always empty.
(Overrides BaseMultisetIsEmpty.)
Public propertyItem
Gets the Set with the given ID.
(Overrides BaseMultisetItemInt32.)
Public propertySetIDs
Returns an empty enumerable as the Null Multiset contains no Sets.
(Overrides BaseMultisetSetIDs.)
Public propertySets
Returns an empty enumerable as the Null Multiset contains no Sets.
(Overrides BaseMultisetSets.)
Public propertyVariables
Returns an empty enumerable as the Null Multiset contains no Variables.
(Overrides BaseMultisetVariables.)
Public propertyVirtualCount
The number of results that would be returned without any limit clause to a query or -1 if not supported. Defaults to the same value as the Count member.
(Inherited from BaseMultiset.)
Public methodAdd
Adds a Set to this Multiset.
(Overrides BaseMultisetAdd(ISet).)
Public methodAddVariable
Adds a Variable to this Multiset.
(Overrides BaseMultisetAddVariable(String).)
Public methodContainsValue
Returns false since the Null Multiset contains no values.
(Overrides BaseMultisetContainsValue(String, INode).)
Public methodContainsVariable
Returns false since the Null Multiset contains no variables.
(Overrides BaseMultisetContainsVariable(String).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExistsJoin
Exists Joins another Multiset to this Null Mutliset.
(Overrides BaseMultisetExistsJoin(BaseMultiset, Boolean).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsDisjointWith
Returns true since the Null Multiset is disjoint with all Multisets.
(Overrides BaseMultisetIsDisjointWith(BaseMultiset).)
Public methodJoin
Joins another Multiset to this Null Mutliset.
(Overrides BaseMultisetJoin(BaseMultiset).)
Public methodLeftJoin
Left Joins another Multiset to this Null Mutliset.
(Overrides BaseMultisetLeftJoin(BaseMultiset, ISparqlExpression).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMinusJoin
Minus Joins this Multiset to another Multiset.
(Overrides BaseMultisetMinusJoin(BaseMultiset).)
Public methodProduct
Computes the Product of this Multiset and another Multiset.
(Overrides BaseMultisetProduct(BaseMultiset).)
Public methodRemove
Removes a Set from a Multiset.
(Overrides BaseMultisetRemove(Int32).)
Public methodSetVariableOrder
Sets the variable ordering for the multiset.
(Overrides BaseMultisetSetVariableOrder(IEnumerableString).)
Public methodSort
Sorts a Set based on the given Comparer.
(Inherited from BaseMultiset.)
Public methodToString
Gets the string representation of the multiset (intended for debugging only).
(Inherited from BaseMultiset.)
Public methodTrim
Trims the Multiset of Temporary Variables.
(Inherited from BaseMultiset.)
Public methodTrim(String)
Trims the Multiset by removing all Values for the given Variable.
(Inherited from BaseMultiset.)
Public methodUnion
Unions this Multiset with another Multiset.
(Overrides BaseMultisetUnion(BaseMultiset).)
Protected field_orderedIDs
List of IDs that is used to return the Sets in order if the Multiset has been sorted.
(Inherited from BaseMultiset.)
Extension Methods
Public Extension MethodProductWithTimeout
Calculates the product of two multi-sets asynchronously with a timeout to restrict long running computations.
(Defined by AlgebraExtensions.)
See Also