C# Class Raven.Database.Indexing.MapReduceIndex

Inheritance: Index
Afficher le fichier Open project: robashton/ravendb Class Usage Examples

Méthodes publiques

Méthode Description
IndexDocuments ( AbstractViewGenerator viewGenerator, IndexingBatch batch, IStorageActionsAccessor actions, System.DateTime minimumTimestamp ) : void
MapReduceIndex ( Lucene.Net.Store.Directory directory, string name, Raven.Database.Indexing.IndexDefinition indexDefinition, AbstractViewGenerator viewGenerator, WorkContext context ) : System
Remove ( string keys, WorkContext context ) : void

Méthodes protégées

Méthode Description
HandleCommitPoints ( IndexedItemsInfo itemsInfo ) : void
IsUpToDateEnoughToWriteToDisk ( Etag highestETag ) : bool
RetrieveDocument ( Lucene.Net.Documents.Document document, FieldsToFetch fieldsToFetch, Lucene.Net.Search.ScoreDoc score ) : Raven.Database.Data.IndexQueryResult

Private Methods

Méthode Description
GetDocumentId ( object doc ) : string
GetMappedData ( object doc ) : RavenJObject
ProcessBatch ( AbstractViewGenerator viewGenerator, List currentDocumentResults, string currentKey, HashSet changes, IStorageActionsAccessor actions, int>.IDictionary statsPerKey ) : int
ReduceKeyToString ( object reduceValue ) : string

Method Details

HandleCommitPoints() protected méthode

protected HandleCommitPoints ( IndexedItemsInfo itemsInfo ) : void
itemsInfo IndexedItemsInfo
Résultat void

IndexDocuments() public méthode

public IndexDocuments ( AbstractViewGenerator viewGenerator, IndexingBatch batch, IStorageActionsAccessor actions, System.DateTime minimumTimestamp ) : void
viewGenerator Raven.Database.Linq.AbstractViewGenerator
batch IndexingBatch
actions IStorageActionsAccessor
minimumTimestamp System.DateTime
Résultat void

IsUpToDateEnoughToWriteToDisk() protected méthode

protected IsUpToDateEnoughToWriteToDisk ( Etag highestETag ) : bool
highestETag Etag
Résultat bool

MapReduceIndex() public méthode

public MapReduceIndex ( Lucene.Net.Store.Directory directory, string name, Raven.Database.Indexing.IndexDefinition indexDefinition, AbstractViewGenerator viewGenerator, WorkContext context ) : System
directory Lucene.Net.Store.Directory
name string
indexDefinition Raven.Database.Indexing.IndexDefinition
viewGenerator Raven.Database.Linq.AbstractViewGenerator
context WorkContext
Résultat System

Remove() public méthode

public Remove ( string keys, WorkContext context ) : void
keys string
context WorkContext
Résultat void

RetrieveDocument() protected méthode

protected RetrieveDocument ( Lucene.Net.Documents.Document document, FieldsToFetch fieldsToFetch, Lucene.Net.Search.ScoreDoc score ) : Raven.Database.Data.IndexQueryResult
document Lucene.Net.Documents.Document
fieldsToFetch FieldsToFetch
score Lucene.Net.Search.ScoreDoc
Résultat Raven.Database.Data.IndexQueryResult