[ 
https://issues.apache.org/jira/browse/PIG-1292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12844640#action_12844640
 ] 

Dmitriy V. Ryaboy commented on PIG-1292:
----------------------------------------

.. but we have an abstract class that can provide default implementations so 
that implementers don't have to think about this.

Most of the interfaces introduced in PIG-966 have significant chunks of 
functionality associated with them. This is just a single method about a 
particular property of the incoming data.
I can see why you'd be against putting it into LoadFunc, though, as it's very 
specific. What about ResourceSchema or LoadMetaData?

> Interface Refinements
> ---------------------
>
>                 Key: PIG-1292
>                 URL: https://issues.apache.org/jira/browse/PIG-1292
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>             Fix For: 0.7.0
>
>         Attachments: pig-interfaces.patch
>
>
> A loader can't implement both OrderedLoadFunc and IndexableLoadFunc, as both 
> are abstract classes instead of being interfaces.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to