Свойство | Тип | Описание | |
---|---|---|---|
dataCorrupted | bool | ||
disposed | bool | ||
index | IInMemoryIndex | ||
indexChangedHandler | EventHandler |
||
reasonForDataCorruption |
Метод | Описание | |
---|---|---|
Dispose ( ) : void |
Disposes the current object.
|
|
IndexStorerBase ( IInMemoryIndex index ) : System |
Initializes a new instance of the IndexStorerBase class.
|
|
LoadIndex ( ) : void |
Loads the index from the data store the first time.
|
Метод | Описание | |
---|---|---|
DeleteData ( |
Deletes data from the data storage.
|
|
Find ( |
Determines whether a DumpedWord is contained in a list.
|
|
Find ( |
Determines whether a DumpedWordMapping is contained in a list.
|
|
IndexChangedHandler ( object sender, |
Handles the IInMemoryIndex.IndexChanged events.
|
|
InitDataStore ( object state ) : void |
Initializes the data storage.
|
|
LoadIndexInternal ( |
Loads the index from the data store the first time.
|
|
SaveData ( |
Stores new data into the data storage. When saving a new document, the document ID in data.Mappings must be replaced with the currect document ID, generated by the concrete implementation of this method. data.Words should have IDs numbered from uint.MaxValue downwards. The method re-numbers the words appropriately. |
protected abstract DeleteData ( |
||
data | The data to delete. | |
state | object | A state object passed from the index. |
Результат | void |
protected static Find ( |
||
word | The word. | |
list | IEnumerable |
The list. |
Результат | bool |
protected static Find ( |
||
mapping | The mapping. | |
list | IEnumerable |
The list. |
Результат | bool |
protected IndexChangedHandler ( object sender, |
||
sender | object | The sender. |
e | The event arguments. | |
Результат | void |
public IndexStorerBase ( IInMemoryIndex index ) : System | ||
index | IInMemoryIndex | The index to manage. |
Результат | System |
protected abstract InitDataStore ( object state ) : void | ||
state | object | A state object passed from the index. |
Результат | void |
protected abstract LoadIndexInternal ( |
||
documents | The dumped documents. | |
words | The dumped words. | |
mappings | The dumped word mappings. | |
Результат | void |
protected abstract SaveData ( |
||
data | The data to store. | |
state | object | A state object passed by the index. |
Результат |
protected EventHandler |
||
Результат | EventHandler |