BatchedDataSourceTRecord ClassNaiad Help

[This is preliminary documentation and is subject to change.]

DataSource supporting manual epoch-at-a-time data introduction.
Inheritance Hierarchy

SystemObject
  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

  NameDescription
Public methodBatchedDataSourceTRecord
Initializes a new instance of the BatchedDataSourceTRecord class
Top
Methods

  NameDescription
Public methodActivate
Called by the Computation before it completes its own Activate().
(Inherited from BaseDataSourceTRecord.)
Public methodJoin
Does nothing except test if OnCompleted has been called.
(Overrides BaseDataSourceTRecordJoin.)
Public methodOnCompleted
Introduces no data for the final epoch.
Public methodOnCompleted(IEnumerableTRecord)
Introduces a batch of data for the final epoch.
Public methodOnCompleted(TRecord)
Introduces a single record for the final epoch.
Public methodOnError
Re-throws the exception.
Public methodOnNext
Introduces no data for the next epcoh.
Public methodOnNext(IEnumerableTRecord)
Introduces a batch of data for the next epoch.
Public methodOnNext(TRecord)
Introduces a single record for the next epoch.
Public methodRegisterInputs
Registers StreamingInputs with the DataSource.
(Inherited from BaseDataSourceTRecord.)
Top
Fields

  NameDescription
Protected fieldinputsByWorker
StreamingInputs corresponding to local workers.
(Inherited from BaseDataSourceTRecord.)
Top
See Also

Reference