C# 클래스 Raven.Database.Indexing.MapReduceIndex

상속: Index
파일 보기 프로젝트 열기: robashton/ravendb 1 사용 예제들

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

HandleCommitPoints() 보호된 메소드

protected HandleCommitPoints ( IndexedItemsInfo itemsInfo ) : void
itemsInfo IndexedItemsInfo
리턴 void

IndexDocuments() 공개 메소드

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

IsUpToDateEnoughToWriteToDisk() 보호된 메소드

protected IsUpToDateEnoughToWriteToDisk ( Etag highestETag ) : bool
highestETag Etag
리턴 bool

MapReduceIndex() 공개 메소드

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
리턴 System

Remove() 공개 메소드

public Remove ( string keys, WorkContext context ) : void
keys string
context WorkContext
리턴 void

RetrieveDocument() 보호된 메소드

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
리턴 Raven.Database.Data.IndexQueryResult