Class BaseImmutableDataset
Abstract Base Class for Immutable Datasets.
Implements
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 BaseImmutableDataset : BaseDataset, ISparqlDataset
Methods
| Improve this Doc View SourceAddGraph(IGraph)
Throws an exception since Immutable Datasets cannot be altered.
Declaration
public override bool AddGraph(IGraph g)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph to add. |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceDiscard()
Ensures that any changes to the Dataset (if any) are discarded.
Declaration
public sealed override void Discard()
Overrides
| Improve this Doc View SourceFlush()
Ensures that any changes to the Dataset (if any) are flushed to the underlying Storage.
Declaration
public sealed override void Flush()
Overrides
| Improve this Doc View SourceGetModifiableGraph(Uri)
Throws an exception since Immutable Datasets cannot be altered.
Declaration
public override IGraph GetModifiableGraph(Uri graphUri)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | graphUri | Graph URI. |
Returns
Type | Description |
---|---|
IGraph |
Overrides
| Improve this Doc View SourceRemoveGraph(Uri)
Throws an exception since Immutable Datasets cannot be altered.
Declaration
public override bool RemoveGraph(Uri graphUri)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | graphUri | Graph URI. |
Returns
Type | Description |
---|---|
System.Boolean |