[
https://issues.apache.org/jira/browse/HBASE-5728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13433777#comment-13433777
]
Lars Hofhansl commented on HBASE-5728:
--------------------------------------
There might be HTableInterface implementations where it makes no sense to even
speak of start and end keys.
I think we have three options here:
# Keep HTableInterface pure as is, and use HTable directly when we need to know
about the implementation.
# Add all necessary methods to HTableInterface
# Create another Interface - extending HTableInterface - which includes the
needed implementation specific methods. Then we can decide in the using code
what level of interface is needed.
Not sure which one is best.
> Methods Missing in HTableInterface
> ----------------------------------
>
> Key: HBASE-5728
> URL: https://issues.apache.org/jira/browse/HBASE-5728
> Project: HBase
> Issue Type: Improvement
> Components: client
> Reporter: Bing Li
> Assignee: Jimmy Xiang
> Attachments: trunk-5728.patch, trunk-5728_v2.patch
>
>
> Dear all,
> I found some methods existed in HTable were not in HTableInterface.
> setAutoFlush
> setWriteBufferSize
> ...
> In most cases, I manipulate HBase through HTableInterface from HTablePool. If
> I need to use the above methods, how to do that?
> I am considering writing my own table pool if no proper ways. Is it fine?
> Thanks so much!
> Best regards,
> Bing
--
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