commit | b1c50db25b9610e0362ab56dbd718b39d63cee2d | [log] [tgz] |
---|---|---|
author | Tzu-Li (Gordon) Tai <tzulitai@apache.org> | Wed Mar 10 14:35:34 2021 +0800 |
committer | Tzu-Li (Gordon) Tai <tzulitai@apache.org> | Wed Mar 10 14:41:56 2021 +0800 |
tree | e34d277c9e0101a8f16e00b2c3b03019a19f1219 | |
parent | 039b2d298f617720196c272c6f769d8bbab1a394 [diff] |
[FLINK-21705] Add a SliceType A SliceType is a type that simply treats the value as raw bytes. The serializer implementation simply forwards the bytes as is, without any copying. Since slices are immutable, the type is considered immutable. This type can come in handy if users would like to avoid serialization / deserialization in certain scenarios, e.g. sending state values as a message to another function. This closes #209.