Пример #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.ValueCoderImpl(self._field_coder.get_impl())
     else:
         return coder_impl.ValueCoderImpl(self._field_coder.get_impl())
Пример #2
0
 def get_impl(self):
     return coder_impl.ValueCoderImpl(self._field_coder.get_impl())