Class BaseTransactionalQuadDataset
Abstract Base class for quad datasets that support transactions.
Inheritance
System.Object
BaseTransactionalQuadDataset
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()
Assembly: dotNetRDF.dll
Syntax
public abstract class BaseTransactionalQuadDataset : BaseQuadDataset, ISparqlDataset
Constructors
|
Improve this Doc
View Source
BaseTransactionalQuadDataset()
Creates a Transactional Quad Dataset.
Declaration
public BaseTransactionalQuadDataset()
|
Improve this Doc
View Source
BaseTransactionalQuadDataset(Boolean)
Creates a Transactional Quad Dataset.
Declaration
public BaseTransactionalQuadDataset(bool unionDefaultGraph)
Parameters
Type |
Name |
Description |
System.Boolean |
unionDefaultGraph |
Sets whether the default graph should be the union of all graphs. |
|
Improve this Doc
View Source
BaseTransactionalQuadDataset(Uri)
Creates a Transactional Quad Dataset.
Declaration
public BaseTransactionalQuadDataset(Uri defaultGraphUri)
Parameters
Type |
Name |
Description |
System.Uri |
defaultGraphUri |
Default Graph URI. |
Properties
|
Improve this Doc
View Source
Item[Uri]
Gets a Graph from the dataset.
Declaration
public override IGraph this[Uri graphUri] { get; }
Parameters
Type |
Name |
Description |
System.Uri |
graphUri |
Graph URI. |
Property Value
Overrides
Methods
|
Improve this Doc
View Source
AddGraph(IGraph)
Adds a Graph to the Dataset.
Declaration
public sealed override bool AddGraph(IGraph g)
Parameters
Type |
Name |
Description |
IGraph |
g |
Graph to add. |
Returns
Type |
Description |
System.Boolean |
|
Overrides
|
Improve this Doc
View Source
AddGraphInternal(IGraph)
Adds a Graph to the Dataset.
Declaration
protected abstract bool AddGraphInternal(IGraph g)
Parameters
Type |
Name |
Description |
IGraph |
g |
Graph to add. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Discard()
Ensures that any changes to the Dataset (if any) are discarded.
Declaration
public sealed override void Discard()
Overrides
|
Improve this Doc
View Source
DiscardInternal()
Allows the derived dataset to take any post-Discard() actions required.
Declaration
protected virtual void DiscardInternal()
|
Improve this Doc
View Source
Flush()
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 Source
FlushInternal()
Allows the derived dataset to take any post-Flush() actions required.
Declaration
protected virtual void FlushInternal()
|
Improve this Doc
View Source
GetModifiableGraph(Uri)
Gets a Graph from the Dataset that can be modified.
Declaration
public sealed override IGraph GetModifiableGraph(Uri graphUri)
Parameters
Type |
Name |
Description |
System.Uri |
graphUri |
Graph URI. |
Returns
Overrides
|
Improve this Doc
View Source
GetModifiableGraphInternal(Uri)
Gets a Graph from the Dataset that can be modified transactionally.
Declaration
protected abstract ITransactionalGraph GetModifiableGraphInternal(Uri graphUri)
Parameters
Type |
Name |
Description |
System.Uri |
graphUri |
Graph URI. |
Returns
|
Improve this Doc
View Source
RemoveGraph(Uri)
Removes a Graph from the Dataset.
Declaration
public sealed override bool RemoveGraph(Uri graphUri)
Parameters
Type |
Name |
Description |
System.Uri |
graphUri |
Graph URI. |
Returns
Type |
Description |
System.Boolean |
|
Overrides
|
Improve this Doc
View Source
RemoveGraphInternal(Uri)
Removes a Graph from the dataset.
Declaration
protected abstract bool RemoveGraphInternal(Uri graphUri)
Parameters
Type |
Name |
Description |
System.Uri |
graphUri |
Graph URI. |
Returns
Type |
Description |
System.Boolean |
|
Implements
Extension Methods