Show / Hide Table of Contents

Interface IThreadSafeDataset

Interface for SPARQL Datasets which also provide a Lock by which threading can be controlled.

Inherited Members
ISparqlDataset.SetActiveGraph(IEnumerable<Uri>)
ISparqlDataset.SetActiveGraph(IList<IRefNode>)
ISparqlDataset.SetActiveGraph(Uri)
ISparqlDataset.SetActiveGraph(IRefNode)
ISparqlDataset.SetDefaultGraph(Uri)
ISparqlDataset.SetDefaultGraph(IRefNode)
ISparqlDataset.SetDefaultGraph(IEnumerable<Uri>)
ISparqlDataset.SetDefaultGraph(IList<IRefNode>)
ISparqlDataset.ResetActiveGraph()
ISparqlDataset.ResetDefaultGraph()
ISparqlDataset.DefaultGraphUris
ISparqlDataset.DefaultGraphNames
ISparqlDataset.ActiveGraphUris
ISparqlDataset.ActiveGraphNames
ISparqlDataset.UsesUnionDefaultGraph
ISparqlDataset.AddGraph(IGraph)
ISparqlDataset.RemoveGraph(Uri)
ISparqlDataset.RemoveGraph(IRefNode)
ISparqlDataset.HasGraph(Uri)
ISparqlDataset.HasGraph(IRefNode)
ISparqlDataset.Graphs
ISparqlDataset.GraphUris
ISparqlDataset.GraphNames
ISparqlDataset.this[Uri]
ISparqlDataset.this[IRefNode]
ISparqlDataset.GetModifiableGraph(Uri)
ISparqlDataset.GetModifiableGraph(IRefNode)
ISparqlDataset.HasTriples
ISparqlDataset.ContainsTriple(Triple)
ISparqlDataset.Triples
ISparqlDataset.QuotedTriples
ISparqlDataset.ContainsQuotedTriple(Triple)
ISparqlDataset.Flush()
ISparqlDataset.Discard()
ITripleIndex.GetTriples(Uri)
ITripleIndex.GetTriples(INode)
ITripleIndex.GetTriplesWithObject(Uri)
ITripleIndex.GetTriplesWithObject(INode)
ITripleIndex.GetTriplesWithPredicate(INode)
ITripleIndex.GetTriplesWithPredicate(Uri)
ITripleIndex.GetTriplesWithSubject(INode)
ITripleIndex.GetTriplesWithSubject(Uri)
ITripleIndex.GetTriplesWithSubjectPredicate(INode, INode)
ITripleIndex.GetTriplesWithSubjectObject(INode, INode)
ITripleIndex.GetTriplesWithPredicateObject(INode, INode)
ITripleIndex.GetQuoted(Uri)
ITripleIndex.GetQuoted(INode)
ITripleIndex.GetQuotedWithObject(Uri)
ITripleIndex.GetQuotedWithObject(INode)
ITripleIndex.GetQuotedWithPredicate(INode)
ITripleIndex.GetQuotedWithPredicate(Uri)
ITripleIndex.GetQuotedWithSubject(INode)
ITripleIndex.GetQuotedWithSubject(Uri)
ITripleIndex.GetQuotedWithSubjectPredicate(INode, INode)
ITripleIndex.GetQuotedWithSubjectObject(INode, INode)
ITripleIndex.GetQuotedWithPredicateObject(INode, INode)
Namespace: VDS.RDF.Query.Datasets
Assembly: dotNetRdf.dll
Syntax
public interface IThreadSafeDataset : ISparqlDataset, ITripleIndex
Remarks

Note that there is no guarantees that consuming code will respect the fact that a Dataset is Thread Safe and use the Lock property appropriately. Additionally some datasets may choose to implement thread safety in other ways which don't rely on this interface.

Properties

| Improve this Doc View Source

Lock

Gets the Lock used to ensure MRSW concurrency of the Dataset when used with the Leviathan SPARQL processors.

Declaration
ReaderWriterLockSlim Lock { get; }
Property Value
Type Description
System.Threading.ReaderWriterLockSlim
Remarks

Note that there is no guarantees that consuming code will respect the fact that a Dataset is Thread Safe and use the Lock property appropriately. Additionally some datasets may choose to implement thread safety in other ways which don't rely on this interface.

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Properties
    • Lock
  • Extension Methods
Back to top Generated by DocFX