예제 #1
0
 def test_cython_binary_coder(self):
     data = [b'pyflink', b'x\x00\x00\x00']
     python_field_coders = [
         coder_impl.BinaryCoderImpl() for _ in range(len(data))
     ]
     cython_field_coders = [
         fast_coder_impl.BinaryCoderImpl() for _ in range(len(data))
     ]
     self.check_cython_coder(python_field_coders, cython_field_coders,
                             [data])
예제 #2
0
파일: coders.py 프로젝트: zyset/flink-1
 def get_impl(self):
     return coder_impl.BinaryCoderImpl()
예제 #3
0
 def _create_impl(self):
     return coder_impl.BinaryCoderImpl()