示例#1
0
 def get_impl(self):
     if isinstance(self._field_coder, (ArrowCoder, OverWindowArrowCoder)):
         # ArrowCoder and OverWindowArrowCoder doesn't support fast coder currently.
         from pyflink.fn_execution import coder_impl_slow
         return coder_impl_slow.IterableCoderImpl(
             self._field_coder.get_impl(), self._separated_with_end_message)
     else:
         return coder_impl.IterableCoderImpl(
             self._field_coder.get_impl(), self._separated_with_end_message)
示例#2
0
 def get_impl(self):
     return coder_impl.IterableCoderImpl(self._field_coder.get_impl(),
                                         self._separated_with_end_message)
示例#3
0
 def get_impl(self):
     return coder_impl.IterableCoderImpl(self._field_coder.get_impl(),
                                         self._output_mode)