@InterfaceStability.Unstable @InterfaceAudience.Public public class InputSpecUpdate extends Object
Modifier and Type | Method and Description |
---|---|
static InputSpecUpdate |
createAllTaskInputSpecUpdate(int numPhysicalInputs)
Create an update instance where all work units (typically represented by
InputDataInformationEvent ) will have the same number of physical inputs. |
static InputSpecUpdate |
createPerTaskInputSpecUpdate(List<Integer> perWorkUnitNumPhysicalInputs)
Create an update instance where all work units (typically represented by
InputDataInformationEvent ) will have the same number of physical inputs. |
static InputSpecUpdate |
getDefaultSinglePhysicalInputSpecUpdate() |
String |
toString() |
public static InputSpecUpdate createAllTaskInputSpecUpdate(int numPhysicalInputs)
InputDataInformationEvent
) will have the same number of physical inputs.numPhysicalInputs
- the number of physical inputs for all work units which will use the LogicalInputpublic static InputSpecUpdate createPerTaskInputSpecUpdate(List<Integer> perWorkUnitNumPhysicalInputs)
InputDataInformationEvent
) will have the same number of physical inputs.perWorkUnitNumPhysicalInputs
- A list containing one entry per work unit. The order in the list corresponds to task
index or equivalently the order of InputDataInformationEvent
s being sent.public static InputSpecUpdate getDefaultSinglePhysicalInputSpecUpdate()
Copyright © 2024 Apache Software Foundation. All rights reserved.