C# 클래스 ScrewTurn.Wiki.SearchEngine.DumpedWordMapping

Contains a word mapping data, structured for easy dumping on disk or database.
The class is not thread-safe.
파일 보기 프로젝트 열기: mono/ScrewTurnWiki 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
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