Class BaseFullTextIndexer
Abstract Base Class for Full Text Indexers which implements the basic logic leaving derived classes to implement the index specific logic.
Namespace: VDS.RDF.Query.FullText.Indexing
Assembly: dotNetRDF.Query.FullText.dll
Syntax
public abstract class BaseFullTextIndexer : object, IFullTextIndexer
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()
Finalize()
Destructor for the Indexer which ensures it is disposed of
Declaration
protected void Finalize()
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)
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
public virtual void Index(Triple t)
Parameters
Type | Name | Description |
---|---|---|
Triple | t | Triple. |
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)
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
public virtual void Unindex(Triple t)
Parameters
Type | Name | Description |
---|---|---|
Triple | t | Triple. |
Implements
IDisposable