Click or drag to resize

BaseMultiset Class

Abstract Base Class for representing Multisets.
Inheritance Hierarchy

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

The BaseMultiset type exposes the following members.

Constructors
  NameDescription
Protected methodBaseMultiset
Initializes a new instance of the BaseMultiset class
Top
Properties
  NameDescription
Public propertyCount
Gets the Count of Sets in the Multiset.
Public propertyIsEmpty
Returns whether the Multiset is Empty.
Public propertyItem
Retrieves the Set with the given ID.
Public propertySetIDs
Gets the IDs of Sets in the Multiset.
Public propertySets
Gets the Sets in the Multiset.
Public propertyVariables
Gets the Variables in the Multiset.
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.
Top
Methods
  NameDescription
Public methodAdd
Adds a Set to the Mutliset.
Public methodAddVariable
Adds a Variable to the Multiset.
Public methodContainsValue
Determines whether the Multiset contains the given Value for the given Variable.
Public methodContainsVariable
Determines whether the Multiset contains the given Variable.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExistsJoin
Does an Exists Join of this Multiset to another Multiset where the Join is predicated on the existence/non-existence of a joinable solution on the RHS.
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
Determines whether the Mutliset is disjoint with the given Multiset.
Public methodJoin
Joins this Multiset to another Multiset.
Public methodLeftJoin
Does a Left Join of this Multiset to another Multiset where the Join is predicated on the given Expression.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMinusJoin
Does a Minus Join of this Multiset to another Multiset where any joinable results are subtracted from this Multiset to give the resulting Multiset.
Public methodProduct
Does a Product of this Multiset and another Multiset.
Public methodRemove
Removes a Set (by ID) from the Multiset.
Public methodSetVariableOrder
Sets the variable ordering for the multiset.
Public methodSort
Sorts a Set based on the given Comparer.
Public methodToString
Gets the string representation of the multiset (intended for debugging only).
(Overrides ObjectToString.)
Public methodTrim
Trims the Multiset of Temporary Variables.
Public methodTrim(String)
Trims the Multiset by removing all Values for the given Variable.
Public methodUnion
Does a Union of this Multiset and another Multiset.
Top
Fields
  NameDescription
Protected field_orderedIDs
List of IDs that is used to return the Sets in order if the Multiset has been sorted.
Top
Extension Methods
  NameDescription
Public Extension MethodProductWithTimeout
Calculates the product of two multi-sets asynchronously with a timeout to restrict long running computations.
(Defined by AlgebraExtensions.)
Top
See Also