Click or drag to resize

IdentityMultiset Class

Represents the Identity Multiset.
Inheritance Hierarchy

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

The IdentityMultiset type exposes the following members.

Constructors
  NameDescription
Public methodIdentityMultiset
Initializes a new instance of the IdentityMultiset class
Top
Properties
  NameDescription
Public propertyCount
Gets the Count of Sets in the Multiset.
(Inherited from BaseMultiset.)
Public propertyIsEmpty
Returns false as the Identity Multiset is not considered empty.
(Overrides BaseMultisetIsEmpty.)
Public propertyItem
Gets the Set with the given ID.
(Overrides BaseMultisetItemInt32.)
Public propertySetIDs
Returns an empty enumerable as the Identity Multiset contains no Sets.
(Overrides BaseMultisetSetIDs.)
Public propertySets
Returns an empty enumerable as the Identity Multiset contains no Sets.
(Overrides BaseMultisetSets.)
Public propertyVariables
Returns an empty enumerable as the Identity 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.)
Top
Methods
  NameDescription
Public methodAdd
Adds a Set to the Multiset.
(Overrides BaseMultisetAdd(ISet).)
Public methodAddVariable
Adds a Variable to the Multiset.
(Overrides BaseMultisetAddVariable(String).)
Public methodContainsValue
Returns True since the Identity Multiset is considered to contain all values.
(Overrides BaseMultisetContainsValue(String, INode).)
Public methodContainsVariable
Returns False since the Identity 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 the Multiset to another Multiset.
(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 False since the Identity Multiset is not disjoint with anything.
(Overrides BaseMultisetIsDisjointWith(BaseMultiset).)
Public methodJoin
Joins the Multiset to another Multiset.
(Overrides BaseMultisetJoin(BaseMultiset).)
Public methodLeftJoin
Left Joins the Multiset to another Multiset.
(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
Generates the Product of this Set and another Multiset.
(Overrides BaseMultisetProduct(BaseMultiset).)
Public methodRemove
Removes a Set to the 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
Generates the Union of this Set and another Multiset.
(Overrides BaseMultisetUnion(BaseMultiset).)
Top
Fields
  NameDescription
Protected field_orderedIDs
List of IDs that is used to return the Sets in order if the Multiset has been sorted.
(Inherited from BaseMultiset.)
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