Return-Path: Delivered-To: apmail-incubator-cassandra-commits-archive@minotaur.apache.org Received: (qmail 25421 invoked from network); 31 Aug 2009 22:31:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 31 Aug 2009 22:31:54 -0000 Received: (qmail 92736 invoked by uid 500); 31 Aug 2009 22:31:54 -0000 Delivered-To: apmail-incubator-cassandra-commits-archive@incubator.apache.org Received: (qmail 92715 invoked by uid 500); 31 Aug 2009 22:31:54 -0000 Mailing-List: contact cassandra-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-dev@incubator.apache.org Delivered-To: mailing list cassandra-commits@incubator.apache.org Received: (qmail 92705 invoked by uid 99); 31 Aug 2009 22:31:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Aug 2009 22:31:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Aug 2009 22:31:52 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D1CCB234C056 for ; Mon, 31 Aug 2009 15:31:32 -0700 (PDT) Message-ID: <1118165573.1251757892858.JavaMail.jira@brutus> Date: Mon, 31 Aug 2009 15:31:32 -0700 (PDT) From: "Jonathan Ellis (JIRA)" To: cassandra-commits@incubator.apache.org Subject: [jira] Updated: (CASSANDRA-403) inline BatchMutation struct to make batch_insert look more like the rest of the api In-Reply-To: <874158532.1251757413223.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-403: ------------------------------------- Attachment: 403.patch Getting rid of wrapper structs feels good and will make life better for people using raw Thrift. When we add CASSANDRA-336 (for 0.5) we will probably add a BatchMutation struct back or something similar to it, for a new method that is to batch_insert what multiget_slice is to get_slice. > inline BatchMutation struct to make batch_insert look more like the rest of the api > ----------------------------------------------------------------------------------- > > Key: CASSANDRA-403 > URL: https://issues.apache.org/jira/browse/CASSANDRA-403 > Project: Cassandra > Issue Type: Improvement > Reporter: Jonathan Ellis > Assignee: Jonathan Ellis > Attachments: 403.patch > > > batch_insert is the only column-oriented method that doesn't take a "string key" argument, because in this case it's combined into BatchMutation. This violates the principle of least surprise. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.