@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. | 
List<Integer> | 
getAllNumPhysicalInputs()  | 
static InputSpecUpdate | 
getDefaultSinglePhysicalInputSpecUpdate()  | 
int | 
getNumPhysicalInputsForWorkUnit(int index)  | 
boolean | 
isForAllWorkUnits()  | 
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 InputDataInformationEvents being sent.public static InputSpecUpdate getDefaultSinglePhysicalInputSpecUpdate()
@InterfaceAudience.Private public int getNumPhysicalInputsForWorkUnit(int index)
@InterfaceAudience.Private public boolean isForAllWorkUnits()
Copyright © 2016 Apache Software Foundation. All rights reserved.