Show / Hide Table of Contents

Class BaseImmutableQuadDataset

Abstract Base class for immutable quad datasets.

Inheritance
object
BaseQuadDataset
BaseImmutableQuadDataset
Implements
ISparqlDataset
ITripleIndex
Inherited Members
BaseQuadDataset.SetActiveGraph(IEnumerable<Uri>)
BaseQuadDataset.SetActiveGraph(IList<IRefNode>)
BaseQuadDataset.SetActiveGraph(Uri)
BaseQuadDataset.SetActiveGraph(IRefNode)
BaseQuadDataset.SetDefaultGraph(Uri)
BaseQuadDataset.SetDefaultGraph(IRefNode)
BaseQuadDataset.SetDefaultGraph(IEnumerable<Uri>)
BaseQuadDataset.SetDefaultGraph(IList<IRefNode>)
BaseQuadDataset.ResetActiveGraph()
BaseQuadDataset.ResetDefaultGraph()
BaseQuadDataset.DefaultGraphUris
BaseQuadDataset.DefaultGraphNames
BaseQuadDataset.ActiveGraphUris
BaseQuadDataset.ActiveGraphNames
BaseQuadDataset.UsesUnionDefaultGraph
BaseQuadDataset.IsDefaultGraph(Uri)
BaseQuadDataset.IsDefaultGraph(IRefNode)
BaseQuadDataset.HasGraph(Uri)
BaseQuadDataset.HasGraph(IRefNode)
BaseQuadDataset.HasGraphInternal(IRefNode)
BaseQuadDataset.Graphs
BaseQuadDataset.GraphUris
BaseQuadDataset.GraphNames
BaseQuadDataset.this[Uri]
BaseQuadDataset.this[IRefNode]
BaseQuadDataset.GetGraphInternal(IRefNode)
BaseQuadDataset.HasTriples
BaseQuadDataset.ContainsTriple(Triple)
BaseQuadDataset.ContainsQuotedTriple(Triple)
BaseQuadDataset.ContainsQuad(IRefNode, Triple)
BaseQuadDataset.ContainsQuoted(IRefNode, Triple)
BaseQuadDataset.Triples
BaseQuadDataset.QuotedTriples
BaseQuadDataset.GetQuads(IRefNode)
BaseQuadDataset.GetQuoted(IRefNode)
BaseQuadDataset.GetTriplesWithSubject(INode)
BaseQuadDataset.GetTriplesWithSubject(Uri)
BaseQuadDataset.GetQuotedWithSubject(Uri)
BaseQuadDataset.GetQuotedWithSubject(INode)
BaseQuadDataset.GetQuadsWithSubject(IRefNode, INode)
BaseQuadDataset.GetQuotedWithSubject(IRefNode, INode)
BaseQuadDataset.GetTriplesWithPredicate(Uri)
BaseQuadDataset.GetTriplesWithPredicate(INode)
BaseQuadDataset.GetQuotedWithPredicate(Uri)
BaseQuadDataset.GetQuotedWithPredicate(INode)
BaseQuadDataset.GetQuadsWithPredicate(IRefNode, INode)
BaseQuadDataset.GetQuotedWithPredicate(IRefNode, INode)
BaseQuadDataset.GetTriples(Uri)
BaseQuadDataset.GetTriples(INode)
BaseQuadDataset.GetQuoted(Uri)
BaseQuadDataset.GetQuoted(INode)
BaseQuadDataset.GetTriplesWithObject(Uri)
BaseQuadDataset.GetTriplesWithObject(INode)
BaseQuadDataset.GetQuotedWithObject(Uri)
BaseQuadDataset.GetQuotedWithObject(INode)
BaseQuadDataset.GetQuadsWithObject(IRefNode, INode)
BaseQuadDataset.GetQuotedWithObject(IRefNode, INode)
BaseQuadDataset.GetTriplesWithSubjectPredicate(INode, INode)
BaseQuadDataset.GetQuotedWithSubjectPredicate(INode, INode)
BaseQuadDataset.GetQuadsWithSubjectPredicate(IRefNode, INode, INode)
BaseQuadDataset.GetQuotedWithSubjectPredicate(IRefNode, INode, INode)
BaseQuadDataset.GetTriplesWithSubjectObject(INode, INode)
BaseQuadDataset.GetQuotedWithSubjectObject(INode, INode)
BaseQuadDataset.GetQuadsWithSubjectObject(IRefNode, INode, INode)
BaseQuadDataset.GetQuotedWithSubjectObject(IRefNode, INode, INode)
BaseQuadDataset.GetTriplesWithPredicateObject(INode, INode)
BaseQuadDataset.GetQuotedWithPredicateObject(INode, INode)
BaseQuadDataset.GetQuadsWithPredicateObject(IRefNode, INode, INode)
BaseQuadDataset.GetQuotedWithPredicateObject(IRefNode, INode, INode)
BaseQuadDataset.Flush()
BaseQuadDataset.Discard()
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 BaseImmutableQuadDataset : BaseQuadDataset, ISparqlDataset, ITripleIndex

Methods

| Edit this page View Source

AddGraph(IGraph)

Throws an error as this dataset is immutable.

Declaration
public override sealed bool AddGraph(IGraph g)
Parameters
Type Name Description
IGraph g

Graph.

Returns
Type Description
bool
Overrides
BaseQuadDataset.AddGraph(IGraph)
| Edit this page View Source

AddQuad(Uri, Triple)

Throws an error as this dataset is immutable.

Declaration
[Obsolete("Replaced by AddQuad(IRefNode, Triple)")]
public override bool AddQuad(Uri graphUri, Triple t)
Parameters
Type Name Description
Uri graphUri

Graph URI.

Triple t

Triple.

Returns
Type Description
bool
Overrides
BaseQuadDataset.AddQuad(Uri, Triple)
| Edit this page View Source

AddQuad(IRefNode, Triple)

Adds a Quad to the Dataset.

Declaration
public override bool AddQuad(IRefNode graphName, Triple t)
Parameters
Type Name Description
IRefNode graphName

Graph name.

Triple t

Triple.

Returns
Type Description
bool
Overrides
BaseQuadDataset.AddQuad(IRefNode, Triple)
| Edit this page View Source

GetModifiableGraph(Uri)

Throws an error as this dataset is immutable.

Declaration
[Obsolete("Replaced by GetModifiableGraph(IRefNode)")]
public override sealed IGraph GetModifiableGraph(Uri graphUri)
Parameters
Type Name Description
Uri graphUri

Graph URI.

Returns
Type Description
IGraph
Overrides
BaseQuadDataset.GetModifiableGraph(Uri)
| Edit this page View Source

GetModifiableGraph(IRefNode)

Gets the Graph with the given name from the Dataset.

Declaration
public override sealed IGraph GetModifiableGraph(IRefNode graphName)
Parameters
Type Name Description
IRefNode graphName

Graph name.

Returns
Type Description
IGraph
Overrides
BaseQuadDataset.GetModifiableGraph(IRefNode)
Remarks

Graphs returned from this method must be modifiable and the Dataset must guarantee that when it is Flushed or Disposed of that any changes to the Graph are persisted.

Exceptions
Type Condition
NotSupportedException

May be thrown if the Dataset is immutable i.e. Updates not supported.

| Edit this page View Source

RemoveGraph(Uri)

Throws an error as this dataset is immutable.

Declaration
[Obsolete("Replaced by RemoveGraph(IRefNode)")]
public override sealed bool RemoveGraph(Uri graphUri)
Parameters
Type Name Description
Uri graphUri

Graph URI.

Returns
Type Description
bool
Overrides
BaseQuadDataset.RemoveGraph(Uri)
| Edit this page View Source

RemoveGraph(IRefNode)

Removes a Graph from the Dataset.

Declaration
public override bool RemoveGraph(IRefNode graphName)
Parameters
Type Name Description
IRefNode graphName

Graph name.

Returns
Type Description
bool
Overrides
BaseQuadDataset.RemoveGraph(IRefNode)
Exceptions
Type Condition
NotSupportedException

May be thrown if the Dataset is immutable i.e. Updates not supported.

| Edit this page View Source

RemoveQuad(Uri, Triple)

Throws an error as this dataset is immutable.

Declaration
[Obsolete("Replacecd by RemoveQuad(IRefNode, Triple)")]
public override bool RemoveQuad(Uri graphUri, Triple t)
Parameters
Type Name Description
Uri graphUri

Graph URI.

Triple t

Triple.

Returns
Type Description
bool
Overrides
BaseQuadDataset.RemoveQuad(Uri, Triple)
| Edit this page View Source

RemoveQuad(IRefNode, Triple)

Removes a quad from the dataset.

Declaration
public override bool RemoveQuad(IRefNode graphName, Triple t)
Parameters
Type Name Description
IRefNode graphName

Graph name.

Triple t

Triple to remove.

Returns
Type Description
bool
Overrides
BaseQuadDataset.RemoveQuad(IRefNode, Triple)

Implements

ISparqlDataset
ITripleIndex

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Methods
    • AddGraph(IGraph)
    • AddQuad(Uri, Triple)
    • AddQuad(IRefNode, Triple)
    • GetModifiableGraph(Uri)
    • GetModifiableGraph(IRefNode)
    • RemoveGraph(Uri)
    • RemoveGraph(IRefNode)
    • RemoveQuad(Uri, Triple)
    • RemoveQuad(IRefNode, Triple)
  • Implements
  • Extension Methods
Back to top Generated by DocFX