 | TwoStepOperation Constructor |
Namespace: Ookii.Jumbo.Jet.Jobs.BuilderAssembly: Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntaxpublic 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 JobBuilder
- The job builder.
- input IOperationInput
- The input for the operation.
- taskType Type
- Type of the task. May be a generic type definition with a single type parameter.
- secondStepTaskType Type
- 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 Boolean
- 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