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

stack commented on HBASE-11421:
-------------------------------

+1 on javadoc fix.

Maybe ask question on dev list?  I see batch mostly deprecated and seems like a 
push toward use of mutateRow.  Would be nice if we could strip a marker 
interface.

> HTableInterface javadoc correction
> ----------------------------------
>
>                 Key: HBASE-11421
>                 URL: https://issues.apache.org/jira/browse/HBASE-11421
>             Project: HBase
>          Issue Type: Improvement
>          Components: Client
>            Reporter: Anoop Sam John
>            Assignee: Anoop Sam John
>            Priority: Minor
>             Fix For: 0.99.0
>
>         Attachments: HBASE-11421.patch
>
>
> HTable#batch() APIs javadoc says
>  * @param actions list of Get, Put, Delete, Increment, Append, RowMutations 
> objects
> But we can not pass RowMutations in batch.
> {code}
> } else if (row instanceof RowMutations) {
>   throw new UnsupportedOperationException("No RowMutations in multi calls; 
> use mutateRow");
> }
> {code}
> Small patch to correct the doc.



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

Reply via email to