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 65064D235 for ; Thu, 16 Aug 2012 23:07:26 +0000 (UTC) Received: (qmail 1322 invoked by uid 500); 16 Aug 2012 23:07:24 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 1282 invoked by uid 500); 16 Aug 2012 23:07:24 -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 1272 invoked by uid 99); 16 Aug 2012 23:07:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Aug 2012 23:07:24 +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 (nike.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a82.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Aug 2012 23:07:17 +0000 Received: from homiemail-a82.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a82.g.dreamhost.com (Postfix) with ESMTP id EB1AA28205F; Thu, 16 Aug 2012 16:06:53 -0700 (PDT) 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=HFvHJpwvZOtq9mX2sDlpyLTNiu Q=; b=sXuOqlryMwUbs3wX7pJP8fRqqcDTFB1wybzkg+AqjQ7+Kpp1PmjnV8IH/U 2O/QkUbwhWxdwTYHWbjZerL4p3Unn0hIY9nkYs6B8YepwDQV1oXpRiVW4lATPrnQ FSGa2jpPX6GLg/XEgit1o95zHRhrdre054J+JK/c1jXiFKE3k= Received: from [192.168.2.77] (unknown [116.90.132.105]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a82.g.dreamhost.com (Postfix) with ESMTPSA id 45ADA282024; Thu, 16 Aug 2012 16:06:53 -0700 (PDT) From: aaron morton Content-Type: multipart/alternative; boundary="Apple-Mail=_5BA4B8A6-4660-46A4-8FCC-E23EDA71AE69" Message-Id: <2795E7F6-9EE4-4C2C-8B24-17CBC82D0550@thelastpickle.com> Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\)) Subject: Re: C++ Bulk loader and Result set streaming. Date: Fri, 17 Aug 2012 11:06:50 +1200 References: <1345140530.1739.YahooMailNeo@web110004.mail.gq1.yahoo.com> To: user@cassandra.apache.org, Swathi Vikas In-Reply-To: <1345140530.1739.YahooMailNeo@web110004.mail.gq1.yahoo.com> X-Mailer: Apple Mail (2.1485) --Apple-Mail=_5BA4B8A6-4660-46A4-8FCC-E23EDA71AE69 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 > But i couldn't find any information on bulk loading using C++ client = interface. You cannot.=20 To bulk load data use the sstableloader, otherwise you need to use the = RPC / CQL API.=20 > 2) I want to retrieve all the result of the query(not just first 100 = result set) using C++ client. Is there any C++ supporting code or = information on streaming the result set into a file or something. I've not looked at the C++ client, but normally you use the last column = returned as the start column for the next call.=20 Cheers ----------------- Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 17/08/2012, at 6:08 AM, Swathi Vikas wrote: > Hi All, > =20 > I am using C++ client libQtCassandra. I have two questions. > =20 > 1) I want to bulk load data into cassandra through C++ interface. It = is required by my group where i am doing internship. I could bulk load = using sstableloader as specified in Datastax = :http://www.datastax.com/dev/blog/bulk-loading. But i couldn't find any = information on bulk loading using C++ client interface. > =20 > 2) I want to retrieve all the result of the query(not just first 100 = result set) using C++ client. Is there any C++ supporting code or = information on streaming the result set into a file or something. > =20 > If anyone has any information please direct me where i can look into. > =20 > Thank you very much, > Swat.vikas --Apple-Mail=_5BA4B8A6-4660-46A4-8FCC-E23EDA71AE69 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1
But i couldn't find any information on bulk loading using C++ = client interface.
You cannot. 
To bulk = load data use the sstableloader, otherwise you need to use the RPC / CQL = API. 

2) I want to retrieve all = the result of the query(not just first 100 result set) using C++ = client. Is there any C++ supporting code or information on streaming the = result set into a file or something.
I've not = looked at the C++ client, but normally you use the last column returned = as the start column for the next = call. 

Cheers

http://www.thelastpickle.com

On 17/08/2012, at 6:08 AM, Swathi Vikas <swat.vikas@yahoo.com> = wrote:

Hi = All,
 
I am using C++ client libQtCassandra. I have = two questions.
 
1) I want to bulk load data into cassandra = through C++ interface. It is required by my group where i am doing = internship. I could bulk load using sstableloader as specified in = Datastax :http://www.datastax= .com/dev/blog/bulk-loading. But i couldn't find any information on = bulk loading using C++ client interface.
 
2) I want to retrieve all the result of the = query(not just first 100 result set) using C++ client. Is there any = C++ supporting code or information on streaming the result set into a = file or something.
 
If anyone has any information please direct = me where i can look into.
 
Thank you very much,
Swat.vikas

= --Apple-Mail=_5BA4B8A6-4660-46A4-8FCC-E23EDA71AE69--