Click or drag to resize

WrapperDataset Class

An abstract dataset wrapper that can be used to wrap another dataset and just modify some functionality i.e. provides a decorator over an existing dataset.
Inheritance Hierarchy

Namespace:  VDS.RDF.Query.Datasets
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public abstract class WrapperDataset : ISparqlDataset, 
	IConfigurationSerializable, IThreadSafeDataset

The WrapperDataset type exposes the following members.

Constructors
  NameDescription
Public methodWrapperDataset
Creates a new wrapped dataset.
Top
Properties
  NameDescription
Public propertyActiveGraphUris
Gets the Active Graph URIs.
Public propertyDefaultGraphUris
Gets the Default Graph URIs.
Public propertyGraphs
Gets the Graphs in the dataset.
Public propertyGraphUris
Gets the URIs of Graphs in the dataset.
Public propertyHasTriples
Gets whether the dataset has any triples.
Public propertyItem
Gets a Graph from the dataset.
Public propertyLock
Gets the Lock used to ensure MRSW concurrency on the dataset when available.
Public propertyTriples
Gets all triples from the dataset.
Public propertyUnderlyingDataset
Gets the underlying dataset.
Public propertyUsesUnionDefaultGraph
Gets whether the default graph is the union of all graphs.
Top
Methods
  NameDescription
Public methodAddGraph
Adds a Graph to the dataset.
Public methodContainsTriple
Gets whether the dataset contains a given triple.
Public methodDiscard
Discards any changes to the dataset.
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 methodFlush
Flushes any changes to the dataset.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetModifiableGraph
Gets a modifiable graph from the dataset.
Public methodGetTriplesWithObject
Gets triples with a given object.
Public methodGetTriplesWithPredicate
Gets triples with a given predicate.
Public methodGetTriplesWithPredicateObject
Gets triples with a given predicate and object.
Public methodGetTriplesWithSubject
Gets triples with a given subject.
Public methodGetTriplesWithSubjectObject
Gets triples with a given subject and object.
Public methodGetTriplesWithSubjectPredicate
Gets triples with a given subject and predicate.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasGraph
Gets whether the dataset contains a given Graph.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveGraph
Removes a Graph from the dataset.
Public methodResetActiveGraph
Resets the Active Graph.
Public methodResetDefaultGraph
Resets the Default Graph.
Public methodSerializeConfiguration
Serializes the Configuration of the Dataset.
Public methodSetActiveGraph(IEnumerableUri)
Sets the Active Graph for the dataset.
Public methodSetActiveGraph(Uri)
Sets the Active Graph for the dataset.
Public methodSetDefaultGraph(IEnumerableUri)
Sets the Default Graph for the dataset.
Public methodSetDefaultGraph(Uri)
Sets the Default Graph for the dataset.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Protected field_dataset
Underlying Dataset.
Top
See Also