Click or drag to resize

IBatchableSourceT Interface

Represents a batch of items that can be split if not all items can be processed at once.

Namespace:  MongoDB.Driver.Core.Misc
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax
public interface IBatchableSource<out T>

Type Parameters

T
The type of the items.

The IBatchableSourceT type exposes the following members.

Properties
  NameDescription
Public propertyAllItemsWereProcessed
Gets a value indicating whether all items were processed.
Public propertyCanBeSplit
Gets a value indicating whether the batch can be split.
Public propertyCount
Gets the count.
Public propertyItems
Gets the items.
Public propertyOffset
Gets the offset.
Public propertyProcessedCount
Gets the count of processed items. Equal to zero until SetProcessedCount has been called.
Top
Methods
  NameDescription
Public methodAdvancePastProcessedItems
Advances past the processed items.
Public methodGetBatchItems
Gets the items in the batch.
Public methodGetProcessedItems
Gets the items that were processed.
Public methodGetUnprocessedItems
Gets the items that were not processed.
Public methodSetProcessedCount
Sets the processed count.
Top
See Also