[
https://issues.apache.org/jira/browse/HBASE-5670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13240973#comment-13240973
]
stack commented on HBASE-5670:
------------------------------
+1 on patch. It should be fine. I was wondering if there'd be weird down-deep
incompatibility issues if a Type that had old layout was passed into an
HTable#batch that expected new format but I think it'll be fine and this is all
client-side stuff too... not about the hbase client to server Interface.
> Have Mutation implement the Row interface.
> ------------------------------------------
>
> Key: HBASE-5670
> URL: https://issues.apache.org/jira/browse/HBASE-5670
> Project: HBase
> Issue Type: Improvement
> Reporter: Lars Hofhansl
> Assignee: Lars Hofhansl
> Priority: Trivial
> Fix For: 0.94.1
>
> Attachments: 5670-0.94.txt, 5670-trunk.txt
>
>
> In HBASE-4347 I factored some code from Put/Delete/Append in Mutation.
> In a discussion with a co-worker I noticed that Put/Delete/Append still
> implement the Row interface, but Mutation does not.
> In a trivial change I would like to move that interface up to Mutation, along
> with changing HTable.batch(List<Row>) to HTable.batch(List<? extends Row>)
> (HConnection.processBatch takes List<? extends Row> already anyway), so that
> HTable.batch can be used with a list of Mutations.
--
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