You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Gary Helmling (JIRA)" <ji...@apache.org> on 2014/08/22 00:00:13 UTC

[jira] [Comment Edited] (HBASE-11797) Create Table interface to replace HTableInterface

    [ https://issues.apache.org/jira/browse/HBASE-11797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14106024#comment-14106024 ] 

Gary Helmling edited comment on HBASE-11797 at 8/21/14 9:59 PM:
----------------------------------------------------------------

FYI, I just opened HBASE-11800 to convert the {{coprocessorService(...)}} and {{batchCoprocessorService(...)}} methods to public (drop the private annotation).  While other parts of the coprocessor API can be seen as more private extension interfaces, I think these methods are part of the public API.  They provide the standard mechanism that clients can use to communicate with any custom RPC methods exposed by loaded coprocessors.


was (Author: ghelmling):
FYI, I just opened HBASE-11800 to covert the {{coprocessorService(...)}} and {{batchCoprocessorService(...)}} methods to public (drop the private annotation).  While other parts of the coprocessor API can be seen as more private extension interfaces, I think these methods are part of the public API.  They provide the standard mechanism that clients can use to communicate with any custom RPC methods exposed by loaded coprocessors.

> Create Table interface to replace HTableInterface
> -------------------------------------------------
>
>                 Key: HBASE-11797
>                 URL: https://issues.apache.org/jira/browse/HBASE-11797
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Carter
>            Assignee: Carter
>
> Basically doing this:
> {code}
> interface Table {
>   // get, put related stuff
> }
> @Deprecated
> interface HTableInterface extends Table {
>   // users are encouraged to use the new Table interface
> }
> class HTable extends Table {
>   // all HTable constructors are deprecated
>   // Users are not encouraged to see this class
> }
> {code}
> I'm proposing that in this JIRA I move everything from HTableInterface to Table except the following:
> * Anything deprecated
> * Anything @InterfaceAudience.Private ({{coprocessorService(...)}} and {{batchCoprocessorService(...)}})



--
This message was sent by Atlassian JIRA
(v6.2#6252)