public class InflightDataRescalingDescriptor extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
InflightDataRescalingDescriptor.InflightDataGateOrPartitionRescalingDescriptor
Captures ambiguous mappings of old channels to new channels.
|
Modifier and Type | Field and Description |
---|---|
static InflightDataRescalingDescriptor |
NO_RESCALE |
Constructor and Description |
---|
InflightDataRescalingDescriptor(InflightDataRescalingDescriptor.InflightDataGateOrPartitionRescalingDescriptor[] gateOrPartitionDescriptors) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
RescaleMappings |
getChannelMapping(int gateOrPartitionIndex) |
int[] |
getOldSubtaskIndexes(int gateOrPartitionIndex) |
int |
hashCode() |
boolean |
isAmbiguous(int gateOrPartitionIndex,
int oldSubtaskIndex) |
String |
toString() |
public static final InflightDataRescalingDescriptor NO_RESCALE
public InflightDataRescalingDescriptor(InflightDataRescalingDescriptor.InflightDataGateOrPartitionRescalingDescriptor[] gateOrPartitionDescriptors)
public int[] getOldSubtaskIndexes(int gateOrPartitionIndex)
public RescaleMappings getChannelMapping(int gateOrPartitionIndex)
public boolean isAmbiguous(int gateOrPartitionIndex, int oldSubtaskIndex)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.