Click or drag to resize

SubTreeIndexedTripleCollection Class

An indexed triple collection that uses our MultiDictionary and BinaryTree implementations under the hood for the index structures.
Inheritance Hierarchy

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class SubTreeIndexedTripleCollection : BaseTripleCollection

The SubTreeIndexedTripleCollection type exposes the following members.

Constructors
  NameDescription
Public methodSubTreeIndexedTripleCollection
Initializes a new instance of the SubTreeIndexedTripleCollection class
Top
Properties
Methods
  NameDescription
Protected methodAdd
Adds a Triple to the collection.
(Overrides BaseTripleCollectionAdd(Triple).)
Public methodContains
Checks whether the collection contains a given Triple.
(Overrides BaseTripleCollectionContains(Triple).)
Protected methodDelete
Deletes a triple from the collection.
(Overrides BaseTripleCollectionDelete(Triple).)
Public methodDispose
Disposes of the collection.
(Overrides BaseTripleCollectionDispose.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
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 methodGetEnumerator
Gets the enumerator for the collection.
(Overrides BaseTripleCollectionGetEnumerator.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodRaiseTripleAdded
Helper method for raising the Triple Added event.
(Inherited from BaseTripleCollection.)
Protected methodRaiseTripleRemoved
Helper method for raising the Triple Removed event.
(Inherited from BaseTripleCollection.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWithObject
Gets all the triples with a given object.
(Overrides BaseTripleCollectionWithObject(INode).)
Public methodWithPredicate
Gets all the triples with a given predicate.
(Overrides BaseTripleCollectionWithPredicate(INode).)
Public methodWithPredicateObject
Gets all the triples with a given predicate and object.
(Overrides BaseTripleCollectionWithPredicateObject(INode, INode).)
Public methodWithSubject
Gets all the triples with a given subject.
(Overrides BaseTripleCollectionWithSubject(INode).)
Public methodWithSubjectObject
Gets all the triples with a given subject and object.
(Overrides BaseTripleCollectionWithSubjectObject(INode, INode).)
Public methodWithSubjectPredicate
Gets all the triples with a given subject and predicate.
(Overrides BaseTripleCollectionWithSubjectPredicate(INode, INode).)
Top
Events
  NameDescription
Public eventTripleAdded
Event which occurs when a Triple is added to the Collection
(Inherited from BaseTripleCollection.)
Public eventTripleRemoved
Event which occurs when a Triple is removed from the Collection
(Inherited from BaseTripleCollection.)
Top
Remarks

A variation on TreeIndexedTripleCollection which structures the indexes slightly differently, this may give differing performance and reduced memory usage in some scenarios.

See Also