C# Class Raven.Storage.Managed.MappedResultsStorageAction

Inheritance: IMappedResultsStorageAction
Show file Open project: robashton/ravendb Class Usage Examples

Public Methods

Method Description
DeleteMappedResultsForDocumentId ( string documentId, string view, int>.Dictionary removed ) : void
DeleteMappedResultsForView ( string view ) : void
DeleteScheduledReduction ( List itemsToDelete ) : ScheduledReductionInfo
DeleteScheduledReduction ( string indexName, int level, string reduceKey ) : void
GetItemsToReduce ( GetItemsToReduceParams getItemsToReduceParams ) : IEnumerable
GetKeysForIndexForDebug ( string indexName, int start, int take ) : IEnumerable
GetKeysStats ( string view, int start, int pageSize ) : IEnumerable
GetLastPerformedReduceType ( string indexName, string reduceKey ) : ReduceType
GetMappedBuckets ( string indexName, string reduceKey ) : IEnumerable
GetMappedResults ( string indexName, IEnumerable keysToReduce, bool loadData ) : IEnumerable
GetMappedResultsForDebug ( string indexName, string key, int start, int take ) : IEnumerable
GetReduceKeysAndTypes ( string view, int start, int take ) : IEnumerable
GetReduceTypesPerKeys ( string indexName, int take, int limitOfItemsToReduceInSingleStep ) : IEnumerable
GetReducedResultsForDebug ( string indexName, string key, int level, int start, int take ) : IEnumerable
GetScheduledReductionForDebug ( string indexName, int start, int take ) : IEnumerable
IncrementReduceKeyCounter ( string view, string reduceKey, int value ) : void
MappedResultsStorageAction ( TableStorage storage, IUuidGenerator generator, OrderedPartCollection documentCodecs ) : System
PutMappedResult ( string view, string docId, string reduceKey, RavenJObject data ) : void
PutReducedResult ( string name, string reduceKey, int level, int sourceBucket, int bucket, RavenJObject data ) : void
RemoveReduceResults ( string indexName, int level, string reduceKey, int sourceBucket ) : void
ScheduleReductions ( string view, int level, ReduceKeyAndBucket reduceKeysAndBucket ) : void
UpdatePerformedReduceType ( string indexName, string reduceKey, ReduceType reduceType ) : void
UpdateRemovedMapReduceStats ( string view, int>.Dictionary removed ) : void

Private Methods

Method Description
GetMappedResultsForBucket ( string index, string reduceKey, int bucket, bool loadData ) : IEnumerable
GetNumberOfMappedItemsPerReduceKey ( string view, string reduceKey ) : int
GetReducedResultsForBucket ( string index, string reduceKey, int level, int bucket, bool loadData ) : IEnumerable
GetResultsForBucket ( string index, int level, string reduceKey, int bucket, bool loadData ) : IEnumerable
LoadMappedResult ( Raven.Munin.Table readResult ) : RavenJObject

Method Details

DeleteMappedResultsForDocumentId() public method

public DeleteMappedResultsForDocumentId ( string documentId, string view, int>.Dictionary removed ) : void
documentId string
view string
removed int>.Dictionary
return void

DeleteMappedResultsForView() public method

public DeleteMappedResultsForView ( string view ) : void
view string
return void

DeleteScheduledReduction() public method

public DeleteScheduledReduction ( List itemsToDelete ) : ScheduledReductionInfo
itemsToDelete List
return Raven.Database.Storage.ScheduledReductionInfo

DeleteScheduledReduction() public method

public DeleteScheduledReduction ( string indexName, int level, string reduceKey ) : void
indexName string
level int
reduceKey string
return void

GetItemsToReduce() public method

public GetItemsToReduce ( GetItemsToReduceParams getItemsToReduceParams ) : IEnumerable
getItemsToReduceParams Raven.Database.Storage.GetItemsToReduceParams
return IEnumerable

GetKeysForIndexForDebug() public method

public GetKeysForIndexForDebug ( string indexName, int start, int take ) : IEnumerable
indexName string
start int
take int
return IEnumerable

GetKeysStats() public method

public GetKeysStats ( string view, int start, int pageSize ) : IEnumerable
view string
start int
pageSize int
return IEnumerable

GetLastPerformedReduceType() public method

public GetLastPerformedReduceType ( string indexName, string reduceKey ) : ReduceType
indexName string
reduceKey string
return ReduceType

GetMappedBuckets() public method

public GetMappedBuckets ( string indexName, string reduceKey ) : IEnumerable
indexName string
reduceKey string
return IEnumerable

GetMappedResults() public method

public GetMappedResults ( string indexName, IEnumerable keysToReduce, bool loadData ) : IEnumerable
indexName string
keysToReduce IEnumerable
loadData bool
return IEnumerable

GetMappedResultsForDebug() public method

public GetMappedResultsForDebug ( string indexName, string key, int start, int take ) : IEnumerable
indexName string
key string
start int
take int
return IEnumerable

GetReduceKeysAndTypes() public method

public GetReduceKeysAndTypes ( string view, int start, int take ) : IEnumerable
view string
start int
take int
return IEnumerable

GetReduceTypesPerKeys() public method

public GetReduceTypesPerKeys ( string indexName, int take, int limitOfItemsToReduceInSingleStep ) : IEnumerable
indexName string
take int
limitOfItemsToReduceInSingleStep int
return IEnumerable

GetReducedResultsForDebug() public method

public GetReducedResultsForDebug ( string indexName, string key, int level, int start, int take ) : IEnumerable
indexName string
key string
level int
start int
take int
return IEnumerable

GetScheduledReductionForDebug() public method

public GetScheduledReductionForDebug ( string indexName, int start, int take ) : IEnumerable
indexName string
start int
take int
return IEnumerable

IncrementReduceKeyCounter() public method

public IncrementReduceKeyCounter ( string view, string reduceKey, int value ) : void
view string
reduceKey string
value int
return void

MappedResultsStorageAction() public method

public MappedResultsStorageAction ( TableStorage storage, IUuidGenerator generator, OrderedPartCollection documentCodecs ) : System
storage Raven.Storage.Managed.Impl.TableStorage
generator IUuidGenerator
documentCodecs OrderedPartCollection
return System

PutMappedResult() public method

public PutMappedResult ( string view, string docId, string reduceKey, RavenJObject data ) : void
view string
docId string
reduceKey string
data RavenJObject
return void

PutReducedResult() public method

public PutReducedResult ( string name, string reduceKey, int level, int sourceBucket, int bucket, RavenJObject data ) : void
name string
reduceKey string
level int
sourceBucket int
bucket int
data RavenJObject
return void

RemoveReduceResults() public method

public RemoveReduceResults ( string indexName, int level, string reduceKey, int sourceBucket ) : void
indexName string
level int
reduceKey string
sourceBucket int
return void

ScheduleReductions() public method

public ScheduleReductions ( string view, int level, ReduceKeyAndBucket reduceKeysAndBucket ) : void
view string
level int
reduceKeysAndBucket Raven.Database.Storage.ReduceKeyAndBucket
return void

UpdatePerformedReduceType() public method

public UpdatePerformedReduceType ( string indexName, string reduceKey, ReduceType reduceType ) : void
indexName string
reduceKey string
reduceType ReduceType
return void

UpdateRemovedMapReduceStats() public method

public UpdateRemovedMapReduceStats ( string view, int>.Dictionary removed ) : void
view string
removed int>.Dictionary
return void