Class RescaleMappings
java.lang.Object
org.apache.flink.runtime.checkpoint.RescaleMappings
- All Implemented Interfaces:
Serializable
Contains the fine-grain channel mappings that occur when a connected operator has been rescaled.
Usually the mapping is materialized from new->old channel/subtask indexes. Through invert(), the direction may change accordingly. To generalize, the left side is called source
and the right side is called target(s) in this class.
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanint[]getMappedIndexes(int sourceIndex) inthashCode()static RescaleMappingsidentity(int numberOfSources, int numberOfTargets) invert()booleanstatic RescaleMappingstoString()
-
Field Details
-
SYMMETRIC_IDENTITY
-
-
Method Details