Class BaseImmutableDataset
Abstract Base Class for Immutable Datasets.
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 BaseImmutableDataset : BaseDataset, ISparqlDataset, ITripleIndex
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 override sealed 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 override sealed void Flush()
Overrides
| Improve this Doc View SourceGetModifiableGraph(IRefNode)
Throws an exception since Immutable Datasets cannot be altered.
Declaration
public override IGraph GetModifiableGraph(IRefNode graphName)
Parameters
Type | Name | Description |
---|---|---|
IRefNode | graphName | Graph URI. |
Returns
Type | Description |
---|---|
IGraph |
Overrides
| Improve this Doc View SourceRemoveGraph(Uri)
Throws an exception since Immutable Datasets cannot be altered.
Declaration
[Obsolete("Replaced by RemoveGraph(IRefNode)")]
public override bool RemoveGraph(Uri graphUri)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | graphUri | Graph URI. |
Returns
Type | Description |
---|---|
System.Boolean |