Exemplo n.º 1
0
 def _output(self, to_error):
     child = OperationInfo()
     child.identifier = _Identifier.SINK_PRINT
     child.parent = self._info
     child.to_err = to_error
     self._info.sinks.append(child)
     self._env._sinks.append(child)
Exemplo n.º 2
0
 def _output(self, to_error):
     child = OperationInfo()
     child.identifier = _Identifier.SINK_PRINT
     child.parent = self._info
     child.to_err = to_error
     self._info.sinks.append(child)
     self._env._sinks.append(child)
Exemplo n.º 3
0
 def _output(self, to_error):
     child = OperationInfo()
     child_set = DataSink(self._env, child)
     child.identifier = _Identifier.SINK_PRINT
     child.parent = self._info
     child.to_err = to_error
     self._info.parallelism = child.parallelism
     self._info.sinks.append(child)
     self._env._sinks.append(child)
     return child_set
Exemplo n.º 4
0
 def _output(self, to_error):
     child = OperationInfo()
     child_set = DataSink(self._env, child)
     child.identifier = _Identifier.SINK_PRINT
     child.parent = self._info
     child.to_err = to_error
     self._info.parallelism = child.parallelism
     self._info.sinks.append(child)
     self._env._sinks.append(child)
     return child_set
Exemplo n.º 5
0
 def output(self, to_error=False):
     """
     Writes a DataSet to the standard output stream (stdout).
     """
     child = OperationInfo()
     child.identifier = _Identifier.SINK_PRINT
     child.parent = self._info
     child.to_err = to_error
     self._info.sinks.append(child)
     self._env._sinks.append(child)
Exemplo n.º 6
0
 def output(self, to_error=False):
     """
     Writes a DataSet to the standard output stream (stdout).
     """
     child = OperationInfo()
     child.identifier = _Identifier.SINK_PRINT
     child.parent = self._info
     child.to_err = to_error
     self._info.sinks.append(child)
     self._env._sinks.append(child)