Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CC0EE9C68 for ; Thu, 29 Mar 2012 05:44:17 +0000 (UTC) Received: (qmail 52903 invoked by uid 500); 29 Mar 2012 05:44:17 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 52852 invoked by uid 500); 29 Mar 2012 05:44:17 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 52844 invoked by uid 99); 29 Mar 2012 05:44:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Mar 2012 05:44:17 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Mar 2012 05:44:15 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E911D34B2DC for ; Thu, 29 Mar 2012 05:43:53 +0000 (UTC) Date: Thu, 29 Mar 2012 05:43:53 +0000 (UTC) From: "Lars Hofhansl (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <451838616.31381.1332999834050.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1400409296.30818.1332983606064.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-5670) Have Mutation implement the Row interface. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-5670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13240998#comment-13240998 ] Lars Hofhansl commented on HBASE-5670: -------------------------------------- Thanks Stack. Since you can pass List to a method that takes List it'll work without the need to recompile anything. The client<->server communication is done via HConnection.processBatch, which is public and actually already takes List. Seems the List interface in HTable was just an oversight. > 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) to HTable.batch(List) (HConnection.processBatch takes List 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