Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 18260 invoked from network); 28 Mar 2011 12:52:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Mar 2011 12:52:17 -0000 Received: (qmail 19830 invoked by uid 500); 28 Mar 2011 12:52:15 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 19804 invoked by uid 500); 28 Mar 2011 12:52:15 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 19795 invoked by uid 99); 28 Mar 2011 12:52:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Mar 2011 12:52:15 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of norman.maurer@googlemail.com designates 209.85.210.172 as permitted sender) Received: from [209.85.210.172] (HELO mail-iy0-f172.google.com) (209.85.210.172) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Mar 2011 12:52:10 +0000 Received: by iye19 with SMTP id 19so3518236iye.31 for ; Mon, 28 Mar 2011 05:51:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=I18jR8uMepzvLSSiKu06ylfY04V564QCmxPvft5oBME=; b=PVdyDK1IOncoONYZZsTioApe2cxahgPp95q9mhUCE9NaNDjph9Nudw3Z8EV/Xgw/Ra m0PrXLI+F6Ot3FotzxH2AXOAwCHbF9/kKYbEWV181bTjA/31nE2PMOeP+N3Pyu1mQeGY dLVQNszJDC4GvK7DYr7WHba8qTVQ8+UUuKAH0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=Z8qBCn+0uyw1s4s+YQ14zdOP2sAGLamsx+SwU8FAVoFqKBwmP+Vv3TYiwlvnelLoh2 x+E7wloX6i/9m6GvcXdw62xCdXSSQTrzdLH76NrMeCYMex9wOSKiYo6Y5Fx0lojanGPc FXMBeWtTvqJWHixNsBM4u2EnY65g4nhrRy1EU= MIME-Version: 1.0 Received: by 10.231.80.193 with SMTP id u1mr4084078ibk.87.1301316709275; Mon, 28 Mar 2011 05:51:49 -0700 (PDT) Sender: norman.maurer@googlemail.com Received: by 10.231.17.201 with HTTP; Mon, 28 Mar 2011 05:51:49 -0700 (PDT) In-Reply-To: <201103282047047342359@gmail.com> References: <201103282047047342359@gmail.com> Date: Mon, 28 Mar 2011 14:51:49 +0200 X-Google-Sender-Auth: 0XCzA-EKwkgSwJ5DwnibEea3anY Message-ID: Subject: Re: Something about cassandra API From: Norman Maurer To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=0015176f0ca8325796049f8a68cb --0015176f0ca8325796049f8a68cb Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable Hi there, you would be better of to use a high-level client like hector or pelops. See: http://wiki.apache.org/cassandra/ClientOptions But to answer your question... If you really want to use something lowlevel then Thrift is the way to go... Bye, Norman 2011/3/28 An Zhuo > HI, I've learned something about Cassandra and find that there are two > packages about how to access cassandra: avro and thrift=A1=A3 > > So how should I choose the suitable way with java, avro or thrift? thank > you. > > 2011-03-28 > ------------------------------ > An Zhuo > --0015176f0ca8325796049f8a68cb Content-Type: text/html; charset=GB2312 Content-Transfer-Encoding: quoted-printable Hi there,

you would be better of to use a high-level client like hec= tor or pelops.

See:
http://wiki.apache.org/cassandra/ClientOptions

But= to answer your question... If you really want to use something lowlevel th= en Thrift is the way to go...


Bye,
Norman



2011/3/28 = An Zhuo <sparkdream.a= n@gmail.com>
HI, I've learned something about= Cassandra and=20 find that there are two packages about how to access cassandra: avro and=20 thrift=A1=A3
 
So how should I choose the suitable way with java, avro or thrift? tha= nk=20 you.
 
201= 1-03-28=20

An Zhuo=20

--0015176f0ca8325796049f8a68cb--