[
https://issues.apache.org/jira/browse/HBASE-18825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16173134#comment-16173134
]
Duo Zhang commented on HBASE-18825:
-----------------------------------
{quote}
Not a fan of passing a heavy all-in-one object to everywhere, but i agree our
coding works with direct impl class.
{quote}
As said above, I do not have any tendency about using interface or
implementation class, it depends. But for now, we do not have much time to do
another big refactoring, 2.0.0-alpha4 is coming soon, we need to push out the
final CP API. So we need to to be quick. For interfaces other than RSS, I think
using implementation class directly will be the fastest solution, and for RSS,
introducing an IRSS maybe more suitable. We can discuss later how to do it
better.
{quote}
Do we need a discussion on the dev list?
{quote}
We can but I wonder whether we can get many useful feedback... And even we get
something back, we do not have time to do it right now...
I think we can start discussion after 2.0.0-alpha4?
Thanks.
> Use HStoreFile instead of StoreFile in our own code base and remove
> unnecessary methods in StoreFile interface
> --------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-18825
> URL: https://issues.apache.org/jira/browse/HBASE-18825
> Project: HBase
> Issue Type: Sub-task
> Components: Coprocessors
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Fix For: 2.0.0-alpha-4
>
> Attachments: HBASE-18825.patch, HBASE-18825-v1.patch,
> HBASE-18825-v2.patch, HBASE-18825-v3.patch, HBASE-18825-v3.patch
>
>
> Use generic types to avoid too many casts.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)