Package org.apache.heron.api.grouping
Interface StreamGrouping
-
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
CustomStreamGrouping
- All Known Implementing Classes:
AllStreamGrouping
,DirectStreamGrouping
,FieldsStreamGrouping
,GlobalStreamGrouping
,JoinCustomGrouping
,NoneStreamGrouping
,ReduceByKeyAndWindowCustomGrouping
,RemapCustomGrouping
,ShuffleStreamGrouping
public interface StreamGrouping extends Serializable
This is the interface of stream grouping at runtime the tasks in the target bolt.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.apache.heron.api.generated.TopologyAPI.InputStream.Builder
buildStream(String componentName, String streamId)
Create an InputStream Builder object with the corresponding grouping logic.
-
-
-
Method Detail
-
buildStream
org.apache.heron.api.generated.TopologyAPI.InputStream.Builder buildStream(String componentName, String streamId)
Create an InputStream Builder object with the corresponding grouping logic.- Parameters:
componentName
- The parent component of this grouping logicstreamId
- The id of the input stream- Returns:
- An InputStream builder to be used by BoltDeclarer
-
-