You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "ryan rawson (JIRA)" <ji...@apache.org> on 2009/06/22 09:52:07 UTC

[jira] Updated: (HBASE-1561) HTable Mismatch between javadoc and what it actually does

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

ryan rawson updated HBASE-1561:
-------------------------------

    Status: Patch Available  (was: Open)

> HTable Mismatch between javadoc and what it actually does
> ---------------------------------------------------------
>
>                 Key: HBASE-1561
>                 URL: https://issues.apache.org/jira/browse/HBASE-1561
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.20.0
>            Reporter: ryan rawson
>             Fix For: 0.20.0
>
>         Attachments: HBASE-1561.patch
>
>
> The code is:
>   /** 
>    * Delete all cells that match the passed row and column and whose
>    * timestamp is equal-to or older than the passed timestamp, using an
>    * existing row lock.
>    * @param row Row to update
>    * @param column name of column whose value is to be deleted
>    * @param ts Delete all cells of the same timestamp or older.
>    * @param rl Existing row lock
>    * @throws IOException 
>    * @deprecated As of hbase 0.20.0, replaced by {@link #delete(Delete)}
>    */
>   public void deleteAll(final byte [] row, final byte [] column, final long ts,
>       final RowLock rl)
>   throws IOException {
>     Delete d = new Delete(row, ts, rl);
>     d.deleteColumn(column);
>     delete(d);
>   }
> The code should call deleteColumns() instead.
>   

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