From user-return-32359-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Mon Mar 4 15:56:26 2013 Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 90A149201 for ; Mon, 4 Mar 2013 15:56:26 +0000 (UTC) Received: (qmail 33513 invoked by uid 500); 4 Mar 2013 15:56:23 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 33487 invoked by uid 500); 4 Mar 2013 15:56:23 -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 33471 invoked by uid 99); 4 Mar 2013 15:56:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Mar 2013 15:56:22 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a57.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Mar 2013 15:56:18 +0000 Received: from homiemail-a57.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a57.g.dreamhost.com (Postfix) with ESMTP id 6A5C8208060 for ; Mon, 4 Mar 2013 07:55:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h=from :content-type:message-id:mime-version:subject:date:references:to :in-reply-to; s=thelastpickle.com; bh=ef2iymRVSDxFjPADM0WZaWkNZc M=; b=4M7BItW5NLukHC4ft5X6TpVWMN8Gum/MrUTtKaMcVi187imWKI/wTij51G kKFPRqWzk94BgH6NzEx8MtdzpkYWOt+GT7voWqqGRgouVeZWk8XIg8gu9SNRAI68 6il5Pn+n/fwghYMaYXpWu3cN62PEp0JPoxlpju1WUh4UX9JhA= Received: from [192.168.168.119] (c-98-234-52-29.hsd1.ca.comcast.net [98.234.52.29]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a57.g.dreamhost.com (Postfix) with ESMTPSA id 3665E208058 for ; Mon, 4 Mar 2013 07:55:53 -0800 (PST) From: aaron morton Content-Type: multipart/alternative; boundary="Apple-Mail=_F10FE820-E6ED-45B2-87CF-CB83B090B96D" Message-Id: Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: Retrieving local data Date: Mon, 4 Mar 2013 07:55:57 -0800 References: To: user@cassandra.apache.org In-Reply-To: X-Mailer: Apple Mail (2.1499) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_F10FE820-E6ED-45B2-87CF-CB83B090B96D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Yes.=20 You can get the token ranges via astynax and only ask for rows that are = within the token ranges.=20 Cheers ----------------- Aaron Morton Freelance Cassandra Developer New Zealand @aaronmorton http://www.thelastpickle.com On 28/02/2013, at 2:25 PM, Everton Lima wrote: > Ok aaron. But the problem is that I am running Cassandra 1.1.8. I am = using it for the compatibility with Astyanax 1.56. So, it is possible in = Cassandra 1.1.8, too? >=20 > 2013/2/28 aaron morton > Take a look at the token function with the select statement = http://www.datastax.com/docs/1.2/cql_cli/cql/SELECT >=20 > Cheers >=20 > ----------------- > Aaron Morton > Freelance Cassandra Developer > New Zealand >=20 > @aaronmorton > http://www.thelastpickle.com >=20 > On 25/02/2013, at 10:06 AM, Everton Lima = wrote: >=20 >> Hi people, >>=20 >> I was needing to retrieve some data in a local machine that was = running cassandra. >>=20 >> I start the Cassandra's daemon with my java process, so now I need to = execute a CQL, but just in data that was storaged in that machine, is it = possible? How? >>=20 >> Thanks >>=20 >> --=20 >> Everton Lima Aleixo >> Bacharel em Ci=EAncia da Computa=E7=E3o pela UFG >> Mestrando em Ci=EAncia da Computa=E7=E3o pela UFG >> Programador no LUPA >>=20 >=20 >=20 >=20 >=20 > --=20 > Everton Lima Aleixo > Bacharel em Ci=EAncia da Computa=E7=E3o pela UFG > Mestrando em Ci=EAncia da Computa=E7=E3o pela UFG > Programador no LUPA >=20 --Apple-Mail=_F10FE820-E6ED-45B2-87CF-CB83B090B96D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1
http://www.thelastpickle.com

On 28/02/2013, at 2:25 PM, Everton Lima <peitin.inutil@gmail.com> = wrote:

Ok aaron. But the problem is that I am running Cassandra = 1.1.8. I am=20 using it for the compatibility with Astyanax 1.56. So, it is possible in Cassandra 1.1.8, too?

2013/2/28 aaron = morton <aaron@thelastpickle.com>
Take a look at the token function = with the select statement http://www.datastax.com/docs/1.2/cql_cli/cql/SELECT<= div>
Cheers

-----------------
Aaron Morton
Freelance = Cassandra Developer
New = Zealand

@aaronmorton

On 25/02/2013, at 10:06 AM, Everton Lima <peitin.inutil@gmail.com> = wrote:

Hi people,

I was = needing to retrieve some data in a local machine that was running = cassandra.

I start the Cassandra's daemon with my java process, so now I need = to execute a CQL, but just in data that was storaged in that machine, is = it possible? How?

Thanks

--
Everton Lima Aleixo
Bacharel = em Ci=EAncia da Computa=E7=E3o pela UFG
Mestrando em Ci=EAncia = da Computa=E7=E3o pela UFG
Programador no = LUPA

=




--
Everton Lima Aleixo
Bacharel em Ci=EAncia da = Computa=E7=E3o pela UFG
Mestrando em Ci=EAncia da Computa=E7=E3o = pela UFG
Programador no LUPA


= --Apple-Mail=_F10FE820-E6ED-45B2-87CF-CB83B090B96D--