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 EE19B1163F for ; Sat, 11 May 2013 14:43:04 +0000 (UTC) Received: (qmail 94207 invoked by uid 500); 11 May 2013 14:43:02 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 94168 invoked by uid 500); 11 May 2013 14:43:02 -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 94160 invoked by uid 99); 11 May 2013 14:43:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 May 2013 14:43:02 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rwille@fold3.com designates 38.101.149.73 as permitted sender) Received: from [38.101.149.73] (HELO mx02.iarchives.com) (38.101.149.73) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 May 2013 14:42:57 +0000 Received: from mx02.iarchives.com (localhost [127.0.0.1]) by mx02.iarchives.com (Postfix) with ESMTP id 3B7F4C112B for ; Sat, 11 May 2013 08:42:37 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=footnote.com; h=date :subject:from:to:message-id:mime-version:content-type :content-transfer-encoding; s=m1; bh=BpOIgTUYs2NNp8ktAAv80gezqVD f7RVmZ57XAGdMpJk=; b=QJO7K10EvGldbsjazSdQj+cVcQtsTBtU+lcOZn8to0t qUwjjoEybcu1hfAdfBUXEr2V73vIrqRKq8ZPoB633ABKmrC3jwCJX4d9BLbvAMln sJyE4Xik7kzAFE+jM46F3fbqrAx3JXfqadpPpMT31dOSh3AV8DmR07iUzceSFOy4 = Received: from PANDORA.iarchives.com (pandora.iarchives.com [192.168.100.88]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx02.iarchives.com (Postfix) with ESMTPS id 1D7F4C110C for ; Sat, 11 May 2013 08:42:37 -0600 (MDT) Received: from [10.88.88.10] (192.168.97.117) by PANDORA.iarchives.com (192.168.100.88) with Microsoft SMTP Server (TLS) id 14.1.438.0; Sat, 11 May 2013 08:45:09 -0600 User-Agent: Microsoft-MacOutlook/14.14.0.111121 Date: Sat, 11 May 2013 08:42:32 -0600 Subject: Iterating through large numbers of rows with JDBC From: Robert Wille To: Message-ID: Thread-Topic: Iterating through large numbers of rows with JDBC MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I'm using the JDBC driver to access Cassandra. I'm wondering if its possible to iterate through a large number of records (e.g. to perform maintenance on a large column family). I tried calling Connection.createStatement(ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY), but it times out, so I'm guessing that cursors aren't supported. Is there another way to do this, or do I need to use a different API? Thanks in advance Robert