Ejemplo n.º 1
0
 def setup(self):
     super(ScalarFunctionOperation, self).setup()
     self.output_processor = _OutputProcessor(
         window_fn=None,
         main_receivers=self.receivers[0],
         tagged_receivers=None,
         per_element_output_counter=None)
Ejemplo n.º 2
0
    def setup(self, main_receivers):
        """
        Set up the ScalarFunctionRunner.

        :param main_receivers: Receiver objects which is responsible for sending the execution
                               results back the the remote Java operator
        """
        self.output_processor = _OutputProcessor(
            window_fn=None,
            main_receivers=main_receivers,
            tagged_receivers=None,
            per_element_output_counter=None)