Table of Contents

Interface IBatchableSource<T>

Namespace
MongoDB.Driver.Core.Misc
Assembly
MongoDB.Driver.Core.dll

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

public interface IBatchableSource<out T>

Type Parameters

T

The type of the items.

Properties

AllItemsWereProcessed

Gets a value indicating whether all items were processed.

CanBeSplit

Gets a value indicating whether the batch can be split.

Count

Gets the count.

Items

Gets the items.

Offset

Gets the offset.

ProcessedCount

Gets the count of processed items. Equal to zero until SetProcessedCount has been called.

Methods

AdvancePastProcessedItems()

Advances past the processed items.

GetBatchItems()

Gets the items in the batch.

GetProcessedItems()

Gets the items that were processed.

GetUnprocessedItems()

Gets the items that were not processed.

SetProcessedCount(int)

Sets the processed count.