Show / Hide Table of Contents

Class BaseFullTextIndexer

Abstract Base Class for Full Text Indexers which implements the basic logic leaving derived classes to implement the index specific logic.

Inheritance
System.Object
BaseFullTextIndexer
BaseSimpleFullTextIndexer
Implements
IFullTextIndexer
System.IDisposable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.Query.FullText.Indexing
Assembly: dotNetRdf.Query.FullText.dll
Syntax
public abstract class BaseFullTextIndexer : IFullTextIndexer, IDisposable

Properties

| Improve this Doc View Source

IndexingMode

Gets the Indexing Mode used by this Indexer.

Declaration
public abstract IndexingMode IndexingMode { get; }
Property Value
Type Description
IndexingMode

Methods

| Improve this Doc View Source

Dispose()

Disposes of the Indexer.

Declaration
public void Dispose()
| Improve this Doc View Source

DisposeInternal()

Virtual method that can be overridden to add implementation specific dispose logic.

Declaration
protected virtual void DisposeInternal()
| Improve this Doc View Source

~BaseFullTextIndexer()

Destructor for the Indexer which ensures it is disposed of

Declaration
protected ~BaseFullTextIndexer()
| Improve this Doc View Source

Flush()

Ensures any pending changes are flushed to the actual index.

Declaration
public virtual void Flush()
| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

Index(IGraph)

Indexes a Graph.

Declaration
public virtual void Index(IGraph g)
Parameters
Type Name Description
IGraph g

Graph.

| Improve this Doc View Source

Index(ISparqlDataset)

Indexes a Dataset.

Declaration
public virtual void Index(ISparqlDataset dataset)
Parameters
Type Name Description
ISparqlDataset dataset

Dataset.

| Improve this Doc View Source

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 SHOULD NOT automatically Flush changes to the indexes at the end of this operation.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

Unindex(IGraph)

Unindexes a Graph.

Declaration
public virtual void Unindex(IGraph g)
Parameters
Type Name Description
IGraph g

Graph.

| Improve this Doc View Source

Unindex(ISparqlDataset)

Unindexes a Dataset.

Declaration
public virtual void Unindex(ISparqlDataset dataset)
Parameters
Type Name Description
ISparqlDataset dataset

Dataset.

| Improve this Doc View Source

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.

Implements

IFullTextIndexer
System.IDisposable

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Properties
    • IndexingMode
  • Methods
    • Dispose()
    • DisposeInternal()
    • ~BaseFullTextIndexer()
    • Flush()
    • Index(string, Triple)
    • Index(IGraph, Triple)
    • Index(IGraph)
    • Index(ISparqlDataset)
    • Index(Triple)
    • Unindex(string, Triple)
    • Unindex(IGraph, Triple)
    • Unindex(IGraph)
    • Unindex(ISparqlDataset)
    • Unindex(Triple)
  • Implements
  • Extension Methods
Back to top Generated by DocFX