Class BaseDemandDataset
Abstract Dataset wrapper implementation for datasets that can load graphs on demand.
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.Query.Datasets
Assembly: dotNetRdf.dll
Syntax
public abstract class BaseDemandDataset : WrapperDataset, IConfigurationSerializable, IThreadSafeDataset, ISparqlDataset, ITripleIndex
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
[Obsolete("Replaced by HasGraph(IRefNode)")]
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 SourceHasGraph(IRefNode)
Declaration
public override bool HasGraph(IRefNode graphName)
Parameters
| Type | Name | Description |
|---|---|---|
| IRefNode | graphName |
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 |