| JobConfigurationAddStage Method (String, Type, Int32, InputStageInfo) |
Adds a stage that takes input from other stages or no input.
Namespace:
Ookii.Jumbo.Jet.Jobs
Assembly:
Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 2.0.0
Syntax public StageConfiguration AddStage(
string stageId,
Type taskType,
int taskCount,
InputStageInfo inputStage
)
Public Function AddStage (
stageId As String,
taskType As Type,
taskCount As Integer,
inputStage As InputStageInfo
) As StageConfiguration
public:
StageConfiguration^ AddStage(
String^ stageId,
Type^ taskType,
int taskCount,
InputStageInfo^ inputStage
)
member AddStage :
stageId : string *
taskType : Type *
taskCount : int *
inputStage : InputStageInfo -> StageConfiguration
Parameters
- stageId
- Type: SystemString
The ID of the new stage. - taskType
- Type: SystemType
The type implementing the task's functionality; this type must implement ITaskTInput, TOutput. - taskCount
- Type: SystemInt32
The number of tasks in the new stage. - inputStage
- Type: Ookii.Jumbo.Jet.JobsInputStageInfo
Information about the input stage for this stage, or if the stage has no inputs.
Return Value
Type:
StageConfiguration
A
StageConfiguration for the new stage.
See Also