crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Micah Whitacre (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CRUNCH-197) Adjust AvroKeyConverter to use AvroKey
Date Wed, 24 Apr 2013 23:21:14 GMT
Micah Whitacre created CRUNCH-197:
-------------------------------------

             Summary: Adjust AvroKeyConverter to use AvroKey
                 Key: CRUNCH-197
                 URL: https://issues.apache.org/jira/browse/CRUNCH-197
             Project: Crunch
          Issue Type: Improvement
          Components: Core
            Reporter: Micah Whitacre
            Assignee: Josh Wills
             Fix For: 0.6.0


Change the ArvoKeyConverter class to do the following instead of returning an AvroWrapper.

  private AvroWrapper<K> getWrapper() {
    if (wrapper == null) {
      wrapper = new AvroKey<K>();
    }
    return wrapper;
  }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message