BatchableSource(T) Class (original) (raw)
BatchableSourceT Class
Represents a batch of items that can be split if not all items can be processed at once.
Inheritance Hierarchy
SystemObject
MongoDB.Driver.Core.MiscBatchableSourceT
Namespace: MongoDB.Driver.Core.Misc
Assembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax
public sealed class BatchableSource : IBatchableSource
Public NotInheritable Class BatchableSource(Of T) Implements IBatchableSource(Of T)
[]
type BatchableSource<'T> =
class
interface IBatchableSource<'T>
end
Type Parameters
T
The type of the items.
The BatchableSourceT type exposes the following members.
Constructors
Properties
| | Name | Description | |
| ---------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
| | 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
Extension Methods
See Also