Class GlobalGrouping

    • Constructor Detail

      • GlobalGrouping

        public GlobalGrouping()
    • Method Detail

      • chooseTasks

        public List<Integer> chooseTasks​(int i,
                                         List<Object> list)
        Description copied from interface: CustomStreamGrouping
        This function implements a custom stream grouping. It takes in as input the number of tasks in the target bolt in prepare and returns the tasks to send the tuples to.
        Specified by:
        chooseTasks in interface CustomStreamGrouping
        list - the values to group on