C# Класс ScrewTurn.Wiki.SearchEngine.DumpedWordMapping

Contains a word mapping data, structured for easy dumping on disk or database.
The class is not thread-safe.
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
documentId uint
firstCharIndex ushort
location byte
wordId uint
wordIndex ushort

Открытые методы

Метод Описание
DumpedWordMapping ( uint wordId, uint documentId, BasicWordInfo info ) : System

Initializes a new instance of the DumpedWordMapping class.

DumpedWordMapping ( uint wordId, uint documentId, ushort firstCharIndex, ushort wordIndex, byte location ) : System

Initializes a new instance of the DumpedWordMapping class.

Описание методов

DumpedWordMapping() публичный Метод

Initializes a new instance of the DumpedWordMapping class.
If is null.
public DumpedWordMapping ( uint wordId, uint documentId, BasicWordInfo info ) : System
wordId uint The word unique ID.
documentId uint The document unique ID.
info BasicWordInfo The .
Результат System

DumpedWordMapping() публичный Метод

Initializes a new instance of the DumpedWordMapping class.
public DumpedWordMapping ( uint wordId, uint documentId, ushort firstCharIndex, ushort wordIndex, byte location ) : System
wordId uint The word unique ID.
documentId uint The document unique ID.
firstCharIndex ushort The index of the first character the word.
wordIndex ushort The index of the word in the original index.
location byte The location identifier.
Результат System

Описание свойств

documentId защищенное свойство

The document unique ID.
protected uint documentId
Результат uint

firstCharIndex защищенное свойство

The index of the character of the word.
protected ushort firstCharIndex
Результат ushort

location защищенное свойство

The location identifier.
protected byte location
Результат byte

wordId защищенное свойство

The word unique ID.
protected uint wordId
Результат uint

wordIndex защищенное свойство

The index of the word in the original document.
protected ushort wordIndex
Результат ushort