Click or drag to resize

JobBuilder.Generate Method (Int32, Type)

Generates records using a task that takes no input.

Namespace:  Ookii.Jumbo.Jet.Jobs.Builder
Assembly:  Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 2.0.0
Syntax
public StageOperation Generate(
	int taskCount,
	Type taskType
)

Parameters

taskCount
Type: System.Int32
The number of tasks in the stage.
taskType
Type: System.Type
Type of the task. May be a generic type definition with a single type parameter.

Return Value

Type: StageOperation
A StageOperation instance that can be used to further customize the operation.
Remarks
Note Note
The stage created by this method will have no input, so the input record reader for the task will be null.

You can use the NoInputTask<T> class as a base class for tasks used with this method, although this is not a requirement.

See Also