Interface IntermediateResultInfo
-
- All Known Subinterfaces:
BlockingResultInfo
- All Known Implementing Classes:
AllToAllBlockingResultInfo
,BlockingInputInfo
,PointwiseBlockingResultInfo
public interface IntermediateResultInfo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getNumPartitions()
Get number of partitions for this result.int
getNumSubpartitions(int partitionIndex)
Get number of subpartitions for the given partition.IntermediateDataSetID
getResultId()
Get the intermediate result id.boolean
isBroadcast()
Determines whether the associated intermediate data set uses a broadcast distribution pattern.boolean
isPointwise()
Whether it is a pointwise result.boolean
isSingleSubpartitionContainsAllData()
Checks whether there is a single subpartition that contains all the produced data.
-
-
-
Method Detail
-
getResultId
IntermediateDataSetID getResultId()
Get the intermediate result id.- Returns:
- the intermediate result id
-
isSingleSubpartitionContainsAllData
boolean isSingleSubpartitionContainsAllData()
Checks whether there is a single subpartition that contains all the produced data.- Returns:
- true if one subpartition that contains all the data; false otherwise.
-
isBroadcast
boolean isBroadcast()
Determines whether the associated intermediate data set uses a broadcast distribution pattern.A broadcast distribution pattern indicates that all data produced by this intermediate data set should be broadcast to every downstream consumer.
- Returns:
- true if the intermediate data set is using a broadcast distribution pattern; false otherwise.
-
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
-
-