[jira] [Created] (FLINK-2723) CopyableValue method to copy into new instance

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-2723) CopyableValue method to copy into new instance

Shang Yuanchun (Jira)
Greg Hogan created FLINK-2723:
---------------------------------

             Summary: CopyableValue method to copy into new instance
                 Key: FLINK-2723
                 URL: https://issues.apache.org/jira/browse/FLINK-2723
             Project: Flink
          Issue Type: New Feature
          Components: Core
    Affects Versions: master
            Reporter: Greg Hogan
            Assignee: Greg Hogan
            Priority: Minor


Provide a method for generic user-defined functions to clone a {{CopyableValue}}. A common use case is a {{GroupReduceFunction}} that needs to store multiple objects. With object reuse we need to make a deep copy and with type erasure we cannot call new.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)