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 BaseMultiset.IsEmpty.)
Public propertyItem
Gets the Set with the given ID.
(Overrides BaseMultiset.Item[Int32].)
Public propertySetIDs
Returns an empty enumerable as the Identity Multiset contains no Sets.
(Overrides BaseMultiset.SetIDs.)
Public propertySets
Returns an empty enumerable as the Identity Multiset contains no Sets.
(Overrides BaseMultiset.Sets.)
Public propertyVariables
Returns an empty enumerable as the Identity Multiset contains no Variables.
(Overrides BaseMultiset.Variables.)
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 BaseMultiset.Add(ISet).)
Public methodAddVariable
Adds a Variable to the Multiset.
(Overrides BaseMultiset.AddVariable(String).)
Public methodContainsValue
Returns True since the Identity Multiset is considered to contain all values.
(Overrides BaseMultiset.ContainsValue(String, INode).)
Public methodContainsVariable
Returns False since the Identity Multiset contains no Variables.
(Overrides BaseMultiset.ContainsVariable(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 BaseMultiset.ExistsJoin(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 BaseMultiset.IsDisjointWith(BaseMultiset).)
Public methodJoin
Joins the Multiset to another Multiset.
(Overrides BaseMultiset.Join(BaseMultiset).)
Public methodLeftJoin
Left Joins the Multiset to another Multiset.
(Overrides BaseMultiset.LeftJoin(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 BaseMultiset.MinusJoin(BaseMultiset).)
Public methodProduct
Generates the Product of this Set and another Multiset.
(Overrides BaseMultiset.Product(BaseMultiset).)
Public methodRemove
Removes a Set to the Multiset.
(Overrides BaseMultiset.Remove(Int32).)
Public methodSetVariableOrder
Sets the variable ordering for the multiset.
(Overrides BaseMultiset.SetVariableOrder(IEnumerable<String>).)
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 BaseMultiset.Union(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