[ 
https://issues.apache.org/jira/browse/HBASE-5728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Xiang updated HBASE-5728:
-------------------------------

    Status: Patch Available  (was: Open)

Based on comments, I put up a patch.  It added the following methods to 
HTableInterface from HTable:

{noformat}
  public byte[][] getStartKeys() throws IOException;
  public byte[][] getEndKeys() throws IOException;
  public Pair<byte[][], byte[][]> getStartEndKeys() throws IOException;

  public void setAutoFlush(boolean autoFlush);
  public void setAutoFlush(boolean autoFlush, boolean clearBufferOnFail);

  public long getWriteBufferSize();
  public void setWriteBufferSize(long writeBufferSize) throws IOException,
{noformat}


                
> 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
>         Attachments: trunk-5728.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

        

Reply via email to