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
System.Object
WrapperDataset
FullTextIndexedDataset
Implements
IConfigurationSerializable
IThreadSafeDataset
ISparqlDataset
Inherited Members
WrapperDataset._dataset
WrapperDataset.Lock
WrapperDataset.UnderlyingDataset
WrapperDataset.SetActiveGraph(IEnumerable<Uri>)
WrapperDataset.SetActiveGraph(Uri)
WrapperDataset.SetDefaultGraph(Uri)
WrapperDataset.SetDefaultGraph(IEnumerable<Uri>)
WrapperDataset.ResetActiveGraph()
WrapperDataset.ResetDefaultGraph()
WrapperDataset.DefaultGraphUris
WrapperDataset.ActiveGraphUris
WrapperDataset.UsesUnionDefaultGraph
WrapperDataset.RemoveGraph(Uri)
WrapperDataset.HasGraph(Uri)
WrapperDataset.Graphs
WrapperDataset.GraphUris
WrapperDataset.Item[Uri]
WrapperDataset.GetModifiableGraph(Uri)
WrapperDataset.HasTriples
WrapperDataset.ContainsTriple(Triple)
WrapperDataset.Triples
WrapperDataset.GetTriplesWithSubject(INode)
WrapperDataset.GetTriplesWithPredicate(INode)
WrapperDataset.GetTriplesWithObject(INode)
WrapperDataset.GetTriplesWithSubjectPredicate(INode, INode)
WrapperDataset.GetTriplesWithSubjectObject(INode, INode)
WrapperDataset.GetTriplesWithPredicateObject(INode, INode)
Namespace: VDS.RDF.Query.Datasets
Assembly: dotNetRDF.Query.FullText.dll
Syntax
public class FullTextIndexedDataset : WrapperDataset, IConfigurationSerializable, IThreadSafeDataset, ISparqlDataset

Constructors

| Improve this Doc 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.
| Improve this Doc View Source

FullTextIndexedDataset(ISparqlDataset, IFullTextIndexer, Boolean)

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.
System.Boolean 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

| Improve this Doc 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
System.Boolean
Overrides
WrapperDataset.AddGraph(IGraph)
| Improve this Doc View Source

Discard()

Discards changes to the Dataset and ensures the Index is up to date.
Declaration
public override void Discard()
Overrides
WrapperDataset.Discard()
| Improve this Doc View Source

Flush()

Flushes changes to the Dataset and ensures the Index is up to date.
Declaration
public override void Flush()
Overrides
WrapperDataset.Flush()
| Improve this Doc View Source

GetModifiableGraph(Uri)

Gets a modifiable graph from the store ensuring that modifications will update the Full Text Index.
Declaration
public override IGraph GetModifiableGraph(Uri graphUri)
Parameters
Type Name Description
Uri graphUri Graph URI.
Returns
Type Description
IGraph
| Improve this Doc View Source

RemoveGraph(Uri)

Removes a Graph from the Dataset updating the Full Text Index appropriately.
Declaration
public override bool RemoveGraph(Uri graphUri)
Parameters
Type Name Description
Uri graphUri URI of the Graph to remove.
Returns
Type Description
System.Boolean
| Improve this Doc 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

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • FullTextIndexedDataset(ISparqlDataset, IFullTextIndexer)
    • FullTextIndexedDataset(ISparqlDataset, IFullTextIndexer, Boolean)
  • Methods
    • AddGraph(IGraph)
    • Discard()
    • Flush()
    • GetModifiableGraph(Uri)
    • RemoveGraph(Uri)
    • SerializeConfiguration(ConfigurationSerializationContext)
  • Implements
  • Extension Methods
Back to top Generated by DocFX