C# Class Raven.Database.DatabaseBulkOperations

显示文件 Open project: markrendle/ravendb

Public Methods

Method Description
DatabaseBulkOperations ( DocumentDatabase database, Raven.Database.TransactionInformation transactionInformation ) : System
DeleteByIndex ( string indexName, IndexQuery queryToDelete, bool allowStale ) : Newtonsoft.Json.Linq.JArray
UpdateByIndex ( string indexName, IndexQuery queryToUpdate, Raven.Database.Json.PatchRequest patchRequests, bool allowStale ) : Newtonsoft.Json.Linq.JArray

Private Methods

Method Description
PerformBulkOperation ( string index, IndexQuery indexQuery, bool allowStale, Func batchOperation ) : Newtonsoft.Json.Linq.JArray

Method Details

DatabaseBulkOperations() public method

public DatabaseBulkOperations ( DocumentDatabase database, Raven.Database.TransactionInformation transactionInformation ) : System
database DocumentDatabase
transactionInformation Raven.Database.TransactionInformation
return System

DeleteByIndex() public method

public DeleteByIndex ( string indexName, IndexQuery queryToDelete, bool allowStale ) : Newtonsoft.Json.Linq.JArray
indexName string
queryToDelete Raven.Database.Data.IndexQuery
allowStale bool
return Newtonsoft.Json.Linq.JArray

UpdateByIndex() public method

public UpdateByIndex ( string indexName, IndexQuery queryToUpdate, Raven.Database.Json.PatchRequest patchRequests, bool allowStale ) : Newtonsoft.Json.Linq.JArray
indexName string
queryToUpdate Raven.Database.Data.IndexQuery
patchRequests Raven.Database.Json.PatchRequest
allowStale bool
return Newtonsoft.Json.Linq.JArray