Class FieldsGrouping
- java.lang.Object
-
- org.apache.heron.simulator.grouping.Grouping
-
- org.apache.heron.simulator.grouping.FieldsGrouping
-
public class FieldsGrouping extends Grouping
-
-
Constructor Summary
Constructors Constructor Description FieldsGrouping(org.apache.heron.api.generated.TopologyAPI.InputStream inputStream, org.apache.heron.api.generated.TopologyAPI.StreamSchema schema, List<Integer> taskIds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
getHashCode(Object o)
Returns a hash code value for the given Object, basing on customized hash method.List<Integer>
getListToSend(org.apache.heron.proto.system.HeronTuples.HeronDataTuple tuple)
-
-
-
Method Detail
-
getListToSend
public List<Integer> getListToSend(org.apache.heron.proto.system.HeronTuples.HeronDataTuple tuple)
- Specified by:
getListToSend
in classGrouping
-
getHashCode
protected int getHashCode(Object o)
Returns a hash code value for the given Object, basing on customized hash method.- Parameters:
o
- the given- Returns:
- the hash code of the Object
-
-