Interface IntermediateResultInfo
-
- All Known Subinterfaces:
BlockingResultInfo
- All Known Implementing Classes:
AllToAllBlockingResultInfo,PointwiseBlockingResultInfo
public interface IntermediateResultInfo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetNumPartitions()Get number of partitions for this result.intgetNumSubpartitions(int partitionIndex)Get number of subpartitions for the given partition.IntermediateDataSetIDgetResultId()Get the intermediate result id.booleanisBroadcast()Whether it is a broadcast result.booleanisPointwise()Whether it is a pointwise result.
-
-
-
Method Detail
-
getResultId
IntermediateDataSetID getResultId()
Get the intermediate result id.- Returns:
- the intermediate result id
-
isBroadcast
boolean isBroadcast()
Whether it is a broadcast result.- Returns:
- whether it is a broadcast result
-
isPointwise
boolean isPointwise()
Whether it is a pointwise result.- Returns:
- whether it is a pointwise result
-
getNumPartitions
int getNumPartitions()
Get number of partitions for this result.- Returns:
- the number of partitions in this result
-
getNumSubpartitions
int getNumSubpartitions(int partitionIndex)
Get number of subpartitions for the given partition.- Parameters:
partitionIndex- the partition index- Returns:
- the number of subpartitions of the partition
-
-