Click or drag to resize

JobConfigurationAddDataInputStage Method

Adds a stage that reads input from a IDataInput.

Namespace:  Ookii.Jumbo.Jet.Jobs
Assembly:  Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 2.0.0
Syntax
public StageConfiguration AddDataInputStage(
	string stageId,
	IDataInput input,
	Type taskType
)

Parameters

stageId
Type: SystemString
The name of the stage. This name will serve as the base name for all the tasks in the stage.
input
Type: Ookii.Jumbo.Jet.IOIDataInput
The IDataInput that provides the input.
taskType
Type: SystemType
The type implementing the task's functionality; this type must implement ITaskTInput, TOutput.

Return Value

Type: StageConfiguration
A StageConfiguration for the new stage.
Remarks
Note Note
Information about stages is not preserved through XML serialization, so you should not use this method on a JobConfiguration object created using the LoadXml(String) method.

The new stage will contain as many tasks are there are blocks in the input file.

See Also