Click or drag to resize

IThreadSafeDataset Interface

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

Namespace:  VDS.RDF.Query.Datasets
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public interface IThreadSafeDataset : ISparqlDataset

The IThreadSafeDataset type exposes the following members.

Properties
  NameDescription
Public propertyActiveGraphUris
Gets the enumeration of the Graph URIs that currently make up the active graph.
(Inherited from ISparqlDataset.)
Public propertyDefaultGraphUris
Gets the enumeration of the Graph URIs that currently make up the default graph.
(Inherited from ISparqlDataset.)
Public propertyGraphs
Gets all the Graphs in the Dataset.
(Inherited from ISparqlDataset.)
Public propertyGraphUris
Gets all the URIs of Graphs in the Dataset.
(Inherited from ISparqlDataset.)
Public propertyHasTriples
Gets whether the Dataset has any Triples.
(Inherited from ISparqlDataset.)
Public propertyItem
Gets the Graph with the given URI from the Dataset.
(Inherited from ISparqlDataset.)
Public propertyLock
Gets the Lock used to ensure MRSW concurrency of the Dataset when used with the Leviathan SPARQL processors.
Public propertyTriples
Gets all the Triples in the Dataset.
(Inherited from ISparqlDataset.)
Public propertyUsesUnionDefaultGraph
Gets whether the Default Graph is treated as being the union of all Graphs in the dataset when no Default Graph is otherwise set.
(Inherited from ISparqlDataset.)
Top
Methods
  NameDescription
Public methodAddGraph
Adds a Graph to the Dataset.
(Inherited from ISparqlDataset.)
Public methodContainsTriple
Gets whether the Dataset contains a specific Triple.
(Inherited from ISparqlDataset.)
Public methodDiscard
Ensures that any changes to the Dataset (if any) are discarded.
(Inherited from ISparqlDataset.)
Public methodFlush
Ensures that any changes to the Dataset (if any) are flushed to the underlying Storage.
(Inherited from ISparqlDataset.)
Public methodGetModifiableGraph
Gets the Graph with the given URI from the Dataset.
(Inherited from ISparqlDataset.)
Public methodGetTriplesWithObject
Gets all the Triples in the Dataset with the given Object.
(Inherited from ISparqlDataset.)
Public methodGetTriplesWithPredicate
Gets all the Triples in the Dataset with the given Predicate.
(Inherited from ISparqlDataset.)
Public methodGetTriplesWithPredicateObject
Gets all the Triples in the Dataset with the given Predicate and Object.
(Inherited from ISparqlDataset.)
Public methodGetTriplesWithSubject
Gets all the Triples in the Dataset with the given Subject.
(Inherited from ISparqlDataset.)
Public methodGetTriplesWithSubjectObject
Gets all the Triples in the Dataset with the given Subject and Object.
(Inherited from ISparqlDataset.)
Public methodGetTriplesWithSubjectPredicate
Gets all the Triples in the Dataset with the given Subject and Predicate.
(Inherited from ISparqlDataset.)
Public methodHasGraph
Gets whether a Graph with the given URI is the Dataset.
(Inherited from ISparqlDataset.)
Public methodRemoveGraph
Removes a Graph from the Dataset.
(Inherited from ISparqlDataset.)
Public methodResetActiveGraph
Resets the Active Graph to the previous Active Graph.
(Inherited from ISparqlDataset.)
Public methodResetDefaultGraph
Resets the Default Graph to the previous Default Graph.
(Inherited from ISparqlDataset.)
Public methodSetActiveGraph(IEnumerableUri)
Sets the Active Graph to be the merge of the Graphs with the given URIs.
(Inherited from ISparqlDataset.)
Public methodSetActiveGraph(Uri)
Sets the Active Graph to be the Graph with the given URI.
(Inherited from ISparqlDataset.)
Public methodSetDefaultGraph(IEnumerableUri)
Sets the Default Graph to be the merge of the Graphs with the given URIs.
(Inherited from ISparqlDataset.)
Public methodSetDefaultGraph(Uri)
Sets the Default Graph to be the Graph with the given URI.
(Inherited from ISparqlDataset.)
Top
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.
See Also