You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Tzu-Li (Gordon) Tai (Jira)" <ji...@apache.org> on 2021/03/10 06:42:00 UTC
[jira] [Created] (FLINK-21705) Add a SliceType to the StateFun Java
SDK
Tzu-Li (Gordon) Tai created FLINK-21705:
-------------------------------------------
Summary: Add a SliceType to the StateFun Java SDK
Key: FLINK-21705
URL: https://issues.apache.org/jira/browse/FLINK-21705
Project: Flink
Issue Type: Improvement
Components: Stateful Functions
Reporter: Tzu-Li (Gordon) Tai
Assignee: Tzu-Li (Gordon) Tai
Fix For: statefun-3.0.0
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 message was sent by Atlassian Jira
(v8.3.4#803005)