You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by "Micah Whitacre (JIRA)" <ji...@apache.org> on 2013/04/25 01:21:14 UTC

[jira] [Created] (CRUNCH-197) Adjust AvroKeyConverter to use AvroKey

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