flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ufuk Celebi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-1126) Add suggestion for using large TupleX types
Date Thu, 25 Sep 2014 08:56:33 GMT
Ufuk Celebi created FLINK-1126:
----------------------------------

             Summary: Add suggestion for using large TupleX types
                 Key: FLINK-1126
                 URL: https://issues.apache.org/jira/browse/FLINK-1126
             Project: Flink
          Issue Type: Improvement
          Components: Documentation
            Reporter: Ufuk Celebi
            Priority: Minor


Instead of
{code}
Tuple11<String, String, ..., String> var = new ...;
{code}
I would like to add a hint to use custom types like:
{code}
CustomType var = new ...;

public static class CustomType extends Tuple11<String, String, ..., String> {
    // constructor matching super
}
{code}

I saw a couple of users sticking to the large TupleX types instead of doing this, which leads
to a very clumsy user code.



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

Mime
View raw message