Class BaseFullTextIndexer
Abstract Base Class for Full Text Indexers which implements the basic logic leaving derived classes to implement the index specific logic.
Inherited Members
Namespace: VDS.RDF.Query.FullText.Indexing
Assembly: dotNetRdf.Query.FullText.dll
Syntax
public abstract class BaseFullTextIndexer : IFullTextIndexer, IDisposable
Properties
| Improve this Doc View SourceIndexingMode
Gets the Indexing Mode used by this Indexer.
Declaration
public abstract IndexingMode IndexingMode { get; }
Property Value
Type | Description |
---|---|
IndexingMode |
Methods
| Improve this Doc View SourceDispose()
Disposes of the Indexer.
Declaration
public void Dispose()
DisposeInternal()
Virtual method that can be overridden to add implementation specific dispose logic.
Declaration
protected virtual void DisposeInternal()
~BaseFullTextIndexer()
Destructor for the Indexer which ensures it is disposed of
Declaration
protected ~BaseFullTextIndexer()
Flush()
Ensures any pending changes are flushed to the actual index.
Declaration
public virtual void Flush()
Index(string, Triple)
Indexes a Triple associating it with the given Graph.
Declaration
protected abstract void Index(string graphUri, Triple t)
Parameters
Type | Name | Description |
---|---|---|
string | graphUri | Graph URI. |
Triple | t | Triple. |
Index(IGraph, Triple)
Indexes a Triple.
Declaration
public virtual void Index(IGraph g, Triple t)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph context of the triple to be indexed. |
Triple | t | Triple. |
Index(IGraph)
Indexes a Graph.
Declaration
public virtual void Index(IGraph g)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph. |
Index(ISparqlDataset)
Indexes a Dataset.
Declaration
public virtual void Index(ISparqlDataset dataset)
Parameters
Type | Name | Description |
---|---|---|
ISparqlDataset | dataset | Dataset. |
Index(Triple)
Indexes a Triple.
Declaration
[Obsolete("Replaced by Index(IGraph, Triple)", true)]
public virtual void Index(Triple t)
Parameters
Type | Name | Description |
---|---|---|
Triple | t | Triple. |
Remarks
Implementations
Unindex(string, Triple)
Unindexes a Triple associating it with the given Graph.
Declaration
protected abstract void Unindex(string graphUri, Triple t)
Parameters
Type | Name | Description |
---|---|---|
string | graphUri | Graph URI. |
Triple | t | Triple. |
Unindex(IGraph, Triple)
Unindexes a triple in the context of a graph.
Declaration
public virtual void Unindex(IGraph g, Triple t)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | The graph context of the triple. |
Triple | t | The triple to be unindexed. |
Unindex(IGraph)
Unindexes a Graph.
Declaration
public virtual void Unindex(IGraph g)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph. |
Unindex(ISparqlDataset)
Unindexes a Dataset.
Declaration
public virtual void Unindex(ISparqlDataset dataset)
Parameters
Type | Name | Description |
---|---|---|
ISparqlDataset | dataset | Dataset. |
Unindex(Triple)
Unindexes a Triple.
Declaration
[Obsolete("Replaced by Unindex(IGraph, Triple). As triples no longer have a reference to a parent graph, this method should no longer be used.", true)]
public virtual void Unindex(Triple t)
Parameters
Type | Name | Description |
---|---|---|
Triple | t | Triple. |