[
https://issues.apache.org/jira/browse/PIG-2538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13210453#comment-13210453
]
Dmitriy V. Ryaboy commented on PIG-2538:
----------------------------------------
This looks good. I'll commit to trunk if tests pass.
> Add helper wrapper classes for StoreFunc
> ----------------------------------------
>
> Key: PIG-2538
> URL: https://issues.apache.org/jira/browse/PIG-2538
> Project: Pig
> Issue Type: Improvement
> Reporter: Bill Graham
> Assignee: Bill Graham
> Attachments: PIG_2538-1.patch
>
>
> We find ourselves wrapping {{StoreFuncs}} often and have written a
> {{StoreFuncDecorator}} and a {{StoreMetadataDecorator}} class. These make it
> easy to subclass and decorate only select {{StoreFuncs}} methods.
> This is conceptually similar to the wrapper helpers in the Java servlet API:
> http://docs.oracle.com/javaee/5/api/javax/servlet/ServletRequestWrapper.html
> http://docs.oracle.com/javaee/5/api/javax/servlet/ServletResponseWrapper.html
> I think these would make useful additions to Pig.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira