| TwoStepOperation Constructor |
Namespace:
Ookii.Jumbo.Jet.Jobs.Builder
Assembly:
Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 2.0.0
Syntax public TwoStepOperation(
JobBuilder builder,
IOperationInput input,
Type taskType,
Type secondStepTaskType,
bool usePrePartitioning
)
Public Sub New (
builder As JobBuilder,
input As IOperationInput,
taskType As Type,
secondStepTaskType As Type,
usePrePartitioning As Boolean
)
public:
TwoStepOperation(
JobBuilder^ builder,
IOperationInput^ input,
Type^ taskType,
Type^ secondStepTaskType,
bool usePrePartitioning
)
new :
builder : JobBuilder *
input : IOperationInput *
taskType : Type *
secondStepTaskType : Type *
usePrePartitioning : bool -> TwoStepOperation
Parameters
- builder
- Type: Ookii.Jumbo.Jet.Jobs.BuilderJobBuilder
The job builder. - input
- Type: Ookii.Jumbo.Jet.Jobs.BuilderIOperationInput
The input for the operation. - taskType
- Type: SystemType
Type of the task. May be a generic type definition with a single type parameter. - secondStepTaskType
- Type: SystemType
The type of the task for the second step. May be a generic type definition with a single type parameter. May be to use the same type as taskType. - usePrePartitioning
- Type: SystemBoolean
If set to the input to the first step will be partitioned when a second step is created.
Remarks
If taskType is a generic type definition with a singe type parameter, it will be constructed using the input's record type.
You can use this with types such as EmptyTaskT, in which case you can specify them as typeof(EmptyTask<>) without
specifying the record type.
For secondStepTaskType the same thing is done by using the output record type of the taskType.
See Also