flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-2723) CopyableValue method to copy into new instance
Date Tue, 22 Sep 2015 22:25:04 GMT

    [ https://issues.apache.org/jira/browse/FLINK-2723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14903564#comment-14903564

ASF GitHub Bot commented on FLINK-2723:

Github user uce commented on the pull request:

    Nice. And good explanation for the change. +1 to merge.
    Optionally: While at it, it might be helpful to add two short Javadoc comments to `copy`
and `copyTo`.

> 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

View raw message