Show / Hide Table of Contents

Class FullTextIndexedDataset

A Full Text Indexed Dataset is a wrapper around another dataset and provides automatic full text indexing of data that is added and removed.

Inheritance
object
WrapperDataset
FullTextIndexedDataset
Implements
IConfigurationSerializable
IThreadSafeDataset
ISparqlDataset
ITripleIndex
Inherited Members
WrapperDataset._dataset
WrapperDataset.Lock
WrapperDataset.UnderlyingDataset
WrapperDataset.SetActiveGraph(IEnumerable<Uri>)
WrapperDataset.SetActiveGraph(Uri)
WrapperDataset.SetActiveGraph(IRefNode)
WrapperDataset.SetActiveGraph(IList<IRefNode>)
WrapperDataset.SetDefaultGraph(Uri)
WrapperDataset.SetDefaultGraph(IEnumerable<Uri>)
WrapperDataset.SetDefaultGraph(IRefNode)
WrapperDataset.SetDefaultGraph(IList<IRefNode>)
WrapperDataset.ResetActiveGraph()
WrapperDataset.ResetDefaultGraph()
WrapperDataset.DefaultGraphUris
WrapperDataset.ActiveGraphUris
WrapperDataset.DefaultGraphNames
WrapperDataset.ActiveGraphNames
WrapperDataset.UsesUnionDefaultGraph
WrapperDataset.HasGraph(Uri)
WrapperDataset.HasGraph(IRefNode)
WrapperDataset.Graphs
WrapperDataset.GraphUris
WrapperDataset.GraphNames
WrapperDataset.this[Uri]
WrapperDataset.this[IRefNode]
WrapperDataset.HasTriples
WrapperDataset.ContainsTriple(Triple)
WrapperDataset.QuotedTriples
WrapperDataset.ContainsQuotedTriple(Triple)
WrapperDataset.Triples
WrapperDataset.GetTriplesWithPredicate(Uri)
WrapperDataset.GetTriplesWithSubject(INode)
WrapperDataset.GetTriplesWithSubject(Uri)
WrapperDataset.GetTriplesWithPredicate(INode)
WrapperDataset.GetTriples(Uri)
WrapperDataset.GetTriples(INode)
WrapperDataset.GetTriplesWithObject(Uri)
WrapperDataset.GetTriplesWithObject(INode)
WrapperDataset.GetTriplesWithSubjectPredicate(INode, INode)
WrapperDataset.GetTriplesWithSubjectObject(INode, INode)
WrapperDataset.GetTriplesWithPredicateObject(INode, INode)
WrapperDataset.GetQuoted(Uri)
WrapperDataset.GetQuoted(INode)
WrapperDataset.GetQuotedWithObject(Uri)
WrapperDataset.GetQuotedWithObject(INode)
WrapperDataset.GetQuotedWithPredicate(INode)
WrapperDataset.GetQuotedWithPredicate(Uri)
WrapperDataset.GetQuotedWithSubject(INode)
WrapperDataset.GetQuotedWithSubject(Uri)
WrapperDataset.GetQuotedWithSubjectPredicate(INode, INode)
WrapperDataset.GetQuotedWithSubjectObject(INode, INode)
WrapperDataset.GetQuotedWithPredicateObject(INode, INode)
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.Query.FullText.dll
Syntax
public class FullTextIndexedDataset : WrapperDataset, IConfigurationSerializable, IThreadSafeDataset, ISparqlDataset, ITripleIndex

Constructors

| Edit this page View Source

FullTextIndexedDataset(ISparqlDataset, IFullTextIndexer)

Creates a new Full Text Indexed Dataset.

Declaration
public FullTextIndexedDataset(ISparqlDataset dataset, IFullTextIndexer indexer)
Parameters
Type Name Description
ISparqlDataset dataset

Dataset to wrap.

IFullTextIndexer indexer

Indexer to use.

Remarks

Does not do any indexing, assumes the provided dataset is already indexed. When using this constructor only changes to the dataset affect the index.

| Edit this page View Source

FullTextIndexedDataset(ISparqlDataset, IFullTextIndexer, bool)

Creates a new Full Text Indexed Dataset.

Declaration
public FullTextIndexedDataset(ISparqlDataset dataset, IFullTextIndexer indexer, bool indexNow)
Parameters
Type Name Description
ISparqlDataset dataset

Dataset to wrap.

IFullTextIndexer indexer

Indexer to use.

bool indexNow

Whether the dataset provided should be indexed now, set to false if indexer is linked to an existing index for this data.

Remarks

If indexNow is true then the provided dataset will be fully indexed when this constructor is called.

Methods

| Edit this page View Source

AddGraph(IGraph)

Adds a Graph to the Dataset updating the Full Text Index appropriately.

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

Graph to add.

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

Discard()

Discards changes to the Dataset and ensures the Index is up to date.

Declaration
public override void Discard()
Overrides
WrapperDataset.Discard()
| Edit this page View Source

Flush()

Flushes changes to the Dataset and ensures the Index is up to date.

Declaration
public override void Flush()
Overrides
WrapperDataset.Flush()
| Edit this page View Source

GetModifiableGraph(Uri)

Gets a modifiable graph from the store ensuring that modifications will update the Full Text Index.

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

Graph URI.

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

GetModifiableGraph(IRefNode)

Gets a modifiable graph from teh store, ensuring that modifications will update the full text index.

Declaration
public override IGraph GetModifiableGraph(IRefNode graphName)
Parameters
Type Name Description
IRefNode graphName
Returns
Type Description
IGraph
Overrides
WrapperDataset.GetModifiableGraph(IRefNode)
| Edit this page View Source

RemoveGraph(Uri)

Removes a Graph from the Dataset updating the Full Text Index appropriately.

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

URI of the Graph to remove.

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

RemoveGraph(IRefNode)

Removes a Graph from the Dataset updating the full text index appropriately.

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

Graph name.

Returns
Type Description
bool
Overrides
WrapperDataset.RemoveGraph(IRefNode)
| Edit this page View Source

SerializeConfiguration(ConfigurationSerializationContext)

Serializes the Configuration of the Dataset.

Declaration
public override void SerializeConfiguration(ConfigurationSerializationContext context)
Parameters
Type Name Description
ConfigurationSerializationContext context

Serialization Context.

Overrides
WrapperDataset.SerializeConfiguration(ConfigurationSerializationContext)

Implements

IConfigurationSerializable
IThreadSafeDataset
ISparqlDataset
ITripleIndex

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Constructors
    • FullTextIndexedDataset(ISparqlDataset, IFullTextIndexer)
    • FullTextIndexedDataset(ISparqlDataset, IFullTextIndexer, bool)
  • Methods
    • AddGraph(IGraph)
    • Discard()
    • Flush()
    • GetModifiableGraph(Uri)
    • GetModifiableGraph(IRefNode)
    • RemoveGraph(Uri)
    • RemoveGraph(IRefNode)
    • SerializeConfiguration(ConfigurationSerializationContext)
  • Implements
  • Extension Methods
Back to top Generated by DocFX