Click or drag to resize

BaseDemandDataset Class

Abstract Dataset wrapper implementation for datasets that can load graphs on demand.
Inheritance Hierarchy

Namespace:  VDS.RDF.Query.Datasets
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public abstract class BaseDemandDataset : WrapperDataset

The BaseDemandDataset type exposes the following members.

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