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)
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
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)