Return-Path: X-Original-To: apmail-accumulo-dev-archive@www.apache.org Delivered-To: apmail-accumulo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E40B31168D for ; Mon, 9 Jun 2014 13:36:46 +0000 (UTC) Received: (qmail 94815 invoked by uid 500); 9 Jun 2014 13:36:46 -0000 Delivered-To: apmail-accumulo-dev-archive@accumulo.apache.org Received: (qmail 94777 invoked by uid 500); 9 Jun 2014 13:36:46 -0000 Mailing-List: contact dev-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list dev@accumulo.apache.org Received: (qmail 94761 invoked by uid 99); 9 Jun 2014 13:36:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jun 2014 13:36:46 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of eric.newton@gmail.com designates 209.85.216.46 as permitted sender) Received: from [209.85.216.46] (HELO mail-qa0-f46.google.com) (209.85.216.46) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jun 2014 13:36:42 +0000 Received: by mail-qa0-f46.google.com with SMTP id i13so1340386qae.19 for ; Mon, 09 Jun 2014 06:36:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=1cmkkS0psYikwiMMKS895XZFyGYim+B8T/lkAtb+D0Y=; b=Tju+Zc65h8JkgO38GevSImpJzEZ2ZXkbNA3qJDmt8xvJuS1WlHuyBVEzhqqv8ukfVk SuzYAhgZJ17HiP2iDVnuq0l0omsbC6+rbxZr8AfC4jxPgFwqOwTmom173a15jBphIzuI 50MzKng6QKgQ5Vm+tTCH57XInAeuh8dwGqQv1yeiLcYWFM2wlWNsl5O1JOu9Z2D175pc gRdPFdgYAIBdpljBSzeodr/PRHloPftPNvgvNdBaIgQZA6bqIROoDjE8Wcg4nzOrb1/l zJI2w90PRXHLIEkFAimqMQgPlKGGzuuDtEPa6pbDfpaiRTW6XrSsiTBALgspI/y/1cuK Czcg== MIME-Version: 1.0 X-Received: by 10.224.55.83 with SMTP id t19mr33802187qag.42.1402320978526; Mon, 09 Jun 2014 06:36:18 -0700 (PDT) Received: by 10.96.34.197 with HTTP; Mon, 9 Jun 2014 06:36:18 -0700 (PDT) In-Reply-To: References: Date: Mon, 9 Jun 2014 09:36:18 -0400 Message-ID: Subject: Re: Documentation not correct for "Reading Data". From: Eric Newton To: dev@accumulo.apache.org Content-Type: multipart/alternative; boundary=047d7b5daf78c9487f04fb674be0 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b5daf78c9487f04fb674be0 Content-Type: text/plain; charset=UTF-8 I've created ACCUMULO-2874 . -Eric On Mon, Jun 9, 2014 at 9:00 AM, Vicky Kak wrote: > The following piece also looks crazy > > for(Entry entry : scan) { > String row = entry.getKey().getRow(); > Value value = entry.getValue(); > } > > > > On Mon, Jun 9, 2014 at 6:21 PM, Vicky Kak wrote: > > > I have been looking at the "Reading Data" section here > > http://accumulo.apache.org/1.6/accumulo_user_manual.html#_reading_data > > > > Looking at the code I don't see the fetchFamily method as mentioned in > > this line > > > > scan.fetchFamily("attributes"); > > > > Looks to me that the document is not updated or something had recently > > been changed in the API. > > > > I had a look at the history on 1.6.1-Snapshot branch, I can't make out if > > the fectchFamily was renamed from it there > > > > > https://github.com/apache/accumulo/commits/master/core/src/main/java/org/apache/accumulo/core/client/impl/ScannerOptions.java > > > > It seems the docs contains wrong method name of fetchFamily, wanted to > > confirm before digging further or raising issue. > > > > Thanks, > > Vicky > > > --047d7b5daf78c9487f04fb674be0--