C# Class Raven.Storage.Managed.MappedResultsStorageAction

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

Méthodes publiques

Méthode 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

Méthode 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 méthode

public DeleteMappedResultsForDocumentId ( string documentId, string view, int>.Dictionary removed ) : void
documentId string
view string
removed int>.Dictionary
Résultat void

DeleteMappedResultsForView() public méthode

public DeleteMappedResultsForView ( string view ) : void
view string
Résultat void

DeleteScheduledReduction() public méthode

public DeleteScheduledReduction ( List itemsToDelete ) : ScheduledReductionInfo
itemsToDelete List
Résultat Raven.Database.Storage.ScheduledReductionInfo

DeleteScheduledReduction() public méthode

public DeleteScheduledReduction ( string indexName, int level, string reduceKey ) : void
indexName string
level int
reduceKey string
Résultat void

GetItemsToReduce() public méthode

public GetItemsToReduce ( GetItemsToReduceParams getItemsToReduceParams ) : IEnumerable
getItemsToReduceParams Raven.Database.Storage.GetItemsToReduceParams
Résultat IEnumerable

GetKeysForIndexForDebug() public méthode

public GetKeysForIndexForDebug ( string indexName, int start, int take ) : IEnumerable
indexName string
start int
take int
Résultat IEnumerable

GetKeysStats() public méthode

public GetKeysStats ( string view, int start, int pageSize ) : IEnumerable
view string
start int
pageSize int
Résultat IEnumerable

GetLastPerformedReduceType() public méthode

public GetLastPerformedReduceType ( string indexName, string reduceKey ) : ReduceType
indexName string
reduceKey string
Résultat ReduceType

GetMappedBuckets() public méthode

public GetMappedBuckets ( string indexName, string reduceKey ) : IEnumerable
indexName string
reduceKey string
Résultat IEnumerable

GetMappedResults() public méthode

public GetMappedResults ( string indexName, IEnumerable keysToReduce, bool loadData ) : IEnumerable
indexName string
keysToReduce IEnumerable
loadData bool
Résultat IEnumerable

GetMappedResultsForDebug() public méthode

public GetMappedResultsForDebug ( string indexName, string key, int start, int take ) : IEnumerable
indexName string
key string
start int
take int
Résultat IEnumerable

GetReduceKeysAndTypes() public méthode

public GetReduceKeysAndTypes ( string view, int start, int take ) : IEnumerable
view string
start int
take int
Résultat IEnumerable

GetReduceTypesPerKeys() public méthode

public GetReduceTypesPerKeys ( string indexName, int take, int limitOfItemsToReduceInSingleStep ) : IEnumerable
indexName string
take int
limitOfItemsToReduceInSingleStep int
Résultat IEnumerable

GetReducedResultsForDebug() public méthode

public GetReducedResultsForDebug ( string indexName, string key, int level, int start, int take ) : IEnumerable
indexName string
key string
level int
start int
take int
Résultat IEnumerable

GetScheduledReductionForDebug() public méthode

public GetScheduledReductionForDebug ( string indexName, int start, int take ) : IEnumerable
indexName string
start int
take int
Résultat IEnumerable

IncrementReduceKeyCounter() public méthode

public IncrementReduceKeyCounter ( string view, string reduceKey, int value ) : void
view string
reduceKey string
value int
Résultat void

MappedResultsStorageAction() public méthode

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

PutMappedResult() public méthode

public PutMappedResult ( string view, string docId, string reduceKey, RavenJObject data ) : void
view string
docId string
reduceKey string
data RavenJObject
Résultat void

PutReducedResult() public méthode

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
Résultat void

RemoveReduceResults() public méthode

public RemoveReduceResults ( string indexName, int level, string reduceKey, int sourceBucket ) : void
indexName string
level int
reduceKey string
sourceBucket int
Résultat void

ScheduleReductions() public méthode

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

UpdatePerformedReduceType() public méthode

public UpdatePerformedReduceType ( string indexName, string reduceKey, ReduceType reduceType ) : void
indexName string
reduceKey string
reduceType ReduceType
Résultat void

UpdateRemovedMapReduceStats() public méthode

public UpdateRemovedMapReduceStats ( string view, int>.Dictionary removed ) : void
view string
removed int>.Dictionary
Résultat void