Class BaseDemandDataset
Abstract Dataset wrapper implementation for datasets that can load graphs on demand.
Inherited Members
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 SourceBaseDemandDataset(ISparqlDataset)
Creates a new Demand Dataset.
Declaration
public BaseDemandDataset(ISparqlDataset dataset)
Parameters
Type | Name | Description |
---|---|---|
ISparqlDataset | dataset | Underlying Dataset. |
Methods
| Improve this Doc View SourceHasGraph(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
| Improve this Doc View SourceTryLoadGraph(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 |