[This is preliminary documentation and is subject to change.]
DataSource supporting manual epoch-at-a-time data introduction.
Inheritance Hierarchy
Microsoft.Research.Naiad.InputBaseDataSourceTRecord
Microsoft.Research.Naiad.InputBatchedDataSourceTRecord
Namespace: Microsoft.Research.Naiad.Input
Assembly: Microsoft.Research.Naiad (in Microsoft.Research.Naiad.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax
C#
public class BatchedDataSource<TRecord> : BaseDataSource<TRecord>, IObserver<IEnumerable<TRecord>>, IObserver<TRecord>
Type Parameters
- TRecord
- record type
The BatchedDataSourceTRecord type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | BatchedDataSourceTRecord | Initializes a new instance of the BatchedDataSourceTRecord class |
Methods
Name | Description | |
---|---|---|
![]() | Activate |
Called by the Computation before it completes its own Activate().
(Inherited from BaseDataSourceTRecord.) |
![]() | Join |
Does nothing except test if OnCompleted has been called.
(Overrides BaseDataSourceTRecordJoin.) |
![]() | OnCompleted |
Introduces no data for the final epoch.
|
![]() | OnCompleted(IEnumerableTRecord) |
Introduces a batch of data for the final epoch.
|
![]() | OnCompleted(TRecord) |
Introduces a single record for the final epoch.
|
![]() | OnError |
Re-throws the exception.
|
![]() | OnNext |
Introduces no data for the next epcoh.
|
![]() | OnNext(IEnumerableTRecord) |
Introduces a batch of data for the next epoch.
|
![]() | OnNext(TRecord) |
Introduces a single record for the next epoch.
|
![]() | RegisterInputs |
Registers StreamingInputs with the DataSource.
(Inherited from BaseDataSourceTRecord.) |
Fields
Name | Description | |
---|---|---|
![]() | inputsByWorker |
StreamingInputs corresponding to local workers.
(Inherited from BaseDataSourceTRecord.) |
See Also