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
object
BaseFullTextIndexer
BaseSimpleFullTextIndexer
Implements
IFullTextIndexer
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

| Edit this page View Source

IndexingMode

Gets the Indexing Mode used by this Indexer.

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

Methods

| Edit this page View Source

Dispose()

Disposes of the Indexer.

Declaration
public void Dispose()
| Edit this page View Source

DisposeInternal()

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

Declaration
protected virtual void DisposeInternal()
| Edit this page View Source

~BaseFullTextIndexer()

Destructor for the Indexer which ensures it is disposed of

Declaration
protected ~BaseFullTextIndexer()
| Edit this page View Source

Flush()

Ensures any pending changes are flushed to the actual index.

Declaration
public virtual void Flush()
| Edit this page 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.

| Edit this page View Source

Index(IGraph)

Indexes a Graph.

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

Graph.

| Edit this page 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.

| Edit this page View Source

Index(ISparqlDataset)

Indexes a Dataset.

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

Dataset.

| Edit this page 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.

| Edit this page 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.

| Edit this page View Source

Unindex(IGraph)

Unindexes a Graph.

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

Graph.

| Edit this page 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.

| Edit this page View Source

Unindex(ISparqlDataset)

Unindexes a Dataset.

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

Dataset.

| Edit this page 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
IDisposable

Extension Methods

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