ConstantDataSourceTRecord ClassNaiad Help

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

A DataSource with fixed contents, produced in the first epoch.
Inheritance Hierarchy

SystemObject
  Microsoft.Research.Naiad.InputBaseDataSourceTRecord
    Microsoft.Research.Naiad.InputConstantDataSourceTRecord

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 ConstantDataSource<TRecord> : BaseDataSource<TRecord>

Type Parameters

TRecord
record type

The ConstantDataSourceTRecord type exposes the following members.

Constructors

  NameDescription
Public methodConstantDataSourceTRecord
Constructs a DataSource with no elements.
Public methodConstantDataSourceTRecord(IEnumerableTRecord)
Constructs a DataSource with constant contents.
Public methodConstantDataSourceTRecord(TRecord)
Constructs a DataSource with a single element.
Top
Methods

  NameDescription
Public methodActivate
Supplies contents to the StreamingInputs.
(Overrides BaseDataSourceTRecordActivate.)
Public methodJoin
Called by the Computation before it completes its own Join().
(Inherited from BaseDataSourceTRecord.)
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