예제 #1
0
파일: coders.py 프로젝트: yangxusun9/flink
 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())