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
Tuple11<String, String, ..., String> var = new ...;
I would like to add a hint to use custom types like:
CustomType var = new ...;

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

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

View raw message