Return-Path: X-Original-To: apmail-accumulo-user-archive@www.apache.org Delivered-To: apmail-accumulo-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 E55D59E62 for ; Tue, 15 May 2012 17:50:11 +0000 (UTC) Received: (qmail 48496 invoked by uid 500); 15 May 2012 17:50:11 -0000 Delivered-To: apmail-accumulo-user-archive@accumulo.apache.org Received: (qmail 48470 invoked by uid 500); 15 May 2012 17:50:11 -0000 Mailing-List: contact user-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@accumulo.apache.org Delivered-To: mailing list user@accumulo.apache.org Received: (qmail 48462 invoked by uid 99); 15 May 2012 17:50:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 May 2012 17:50:11 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.214.169] (HELO mail-ob0-f169.google.com) (209.85.214.169) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 May 2012 17:50:02 +0000 Received: by obbwd18 with SMTP id wd18so11440654obb.0 for ; Tue, 15 May 2012 10:49:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=FF72nByWtqUZGOC37eiB3QVbqpF1il8KEUbVrruiP/s=; b=I4gono4ENbZZsFOoQJsvKKyRkHPTMfjZZF1wNhuxwgstjjYr0gu325koLTxbT+Xx7T ETXEnIVS2QvsMwg9KKb49GIn7mP9RHovu0BI+SuCpivRB5zfuPmct26oXpxx3OFfhDO4 mMUMgs6kNKRcKvfhpOe14giBXDaPsdRNj/4HyBn2lea91WndkoFt7C/wU/W96zq/doio iuBdO45Dgq9zGjP3UaVtB9vl+cqf5FxIqxfsLvs6q0U3CW1qSS0VWwYkJuN4c2QXbONS HiFhQf5UPK1gdIPj4SrNgnPEkdCvv56j0rLhdSL9eByuFz5EwpHmlxtLKGhTbDyI3Tib v5Cg== Received: by 10.182.235.16 with SMTP id ui16mr4155059obc.61.1337104180930; Tue, 15 May 2012 10:49:40 -0700 (PDT) Received: from [192.168.1.10] ([96.25.103.128]) by mx.google.com with ESMTPS id yw3sm23495033obb.7.2012.05.15.10.49.30 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 15 May 2012 10:49:40 -0700 (PDT) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1257) Subject: Re: Scan entire table From: Aaron Cordova In-Reply-To: Date: Tue, 15 May 2012 11:49:27 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: user@accumulo.apache.org X-Mailer: Apple Mail (2.1257) X-Gm-Message-State: ALoCoQkudZ4BS6pJ0NM4W7md0mgp+IORVQSJ9ePVD3kFHBUXONMl7E08SkDOJRBLqhoK9CdYW+/P It should at least be clear in the client section of the manual that a = 'table scan' is the default mode unless you scope the scan down via = additional calls On May 15, 2012, at 10:25 AM, David Medinets wrote: > Sounds like an FAQ to me. The manual should be fairly limited in = scope, I feel. >=20 > On Tue, May 15, 2012 at 12:13 PM, Juan Moreno > wrote: >> That is awesome information, and worthy enough to be included in the = Manual. >> Thanks so much. >>=20 >>=20 >> On Tue, May 15, 2012 at 12:08 PM, Jim Klucar = wrote: >>>=20 >>> Just don't do anything. If you create a scanner object, it sets the >>> default range to Range(null, null) so when you call = Scanner.iterator() >>> you will create an iterator that will cover the entire table. = Calling >>> the methods to set ranges or fetch columns just narrow the default >>> range down, if you want everything just don't call those methods. >>>=20 >>> On Tue, May 15, 2012 at 11:56 AM, Juan Moreno >>> wrote: >>>> Salutations! >>>>=20 >>>> How can Iterate over an entire table using the Java API? >>>> The documentation mentions using Ranges to scan portions of a = table, but >>>> what about an entire table? >>>>=20 >>>> Thanks, >>>>=20 >>>> Juan >>=20 >>=20 >>=20 >>=20 >> -- >> Juan Wellington Moreno >> Software Engineer