Show / Hide Table of Contents

Class BaseDemandDataset

Abstract Dataset wrapper implementation for datasets that can load graphs on demand.
Inheritance
System.Object
WrapperDataset
BaseDemandDataset
WebDemandDataset
Implements
IConfigurationSerializable
IThreadSafeDataset
ISparqlDataset
Inherited Members
WrapperDataset._dataset
WrapperDataset.Lock
WrapperDataset.UnderlyingDataset
WrapperDataset.SetActiveGraph(IEnumerable<Uri>)
WrapperDataset.SetActiveGraph(Uri)
WrapperDataset.SetDefaultGraph(Uri)
WrapperDataset.SetDefaultGraph(IEnumerable<Uri>)
WrapperDataset.ResetActiveGraph()
WrapperDataset.ResetDefaultGraph()
WrapperDataset.DefaultGraphUris
WrapperDataset.ActiveGraphUris
WrapperDataset.UsesUnionDefaultGraph
WrapperDataset.AddGraph(IGraph)
WrapperDataset.RemoveGraph(Uri)
WrapperDataset.Graphs
WrapperDataset.GraphUris
WrapperDataset.Item[Uri]
WrapperDataset.GetModifiableGraph(Uri)
WrapperDataset.HasTriples
WrapperDataset.ContainsTriple(Triple)
WrapperDataset.Triples
WrapperDataset.GetTriplesWithSubject(INode)
WrapperDataset.GetTriplesWithPredicate(INode)
WrapperDataset.GetTriplesWithObject(INode)
WrapperDataset.GetTriplesWithSubjectPredicate(INode, INode)
WrapperDataset.GetTriplesWithSubjectObject(INode, INode)
WrapperDataset.GetTriplesWithPredicateObject(INode, INode)
WrapperDataset.Flush()
WrapperDataset.Discard()
WrapperDataset.SerializeConfiguration(ConfigurationSerializationContext)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF.Query.Datasets
Assembly: dotNetRDF.dll
Syntax
public abstract class BaseDemandDataset : WrapperDataset, IConfigurationSerializable, IThreadSafeDataset, ISparqlDataset

Constructors

| Improve this Doc View Source

BaseDemandDataset(ISparqlDataset)

Creates a new Demand Dataset.
Declaration
public BaseDemandDataset(ISparqlDataset dataset)
Parameters
Type Name Description
ISparqlDataset dataset Underlying Dataset.

Methods

| Improve this Doc View Source

HasGraph(Uri)

Sees if the underlying dataset has a graph and if not tries to load it on demand.
Declaration
public override bool HasGraph(Uri graphUri)
Parameters
Type Name Description
System.Uri graphUri Graph URI.
Returns
Type Description
System.Boolean
Overrides
WrapperDataset.HasGraph(Uri)
| Improve this Doc View Source

TryLoadGraph(Uri, out IGraph)

Method to be implemented by derived classes which implements the loading of graphs on demand.
Declaration
protected abstract bool TryLoadGraph(Uri graphUri, out IGraph g)
Parameters
Type Name Description
System.Uri graphUri Graph URI.
IGraph g Graph.
Returns
Type Description
System.Boolean

Implements

IConfigurationSerializable
IThreadSafeDataset
ISparqlDataset

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • BaseDemandDataset(ISparqlDataset)
  • Methods
    • HasGraph(Uri)
    • TryLoadGraph(Uri, out IGraph)
  • Implements
  • Extension Methods
Back to top Generated by DocFX