Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D48A610DDF for ; Sat, 11 Jan 2014 03:38:10 +0000 (UTC) Received: (qmail 97045 invoked by uid 500); 11 Jan 2014 03:37:57 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 96993 invoked by uid 500); 11 Jan 2014 03:37:53 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 96970 invoked by uid 99); 11 Jan 2014 03:37:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Jan 2014 03:37:51 +0000 Date: Sat, 11 Jan 2014 03:37:51 +0000 (UTC) From: "Corey Nolet (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-2177) A scan time iterator to return the first N entries encountered for each row in the input range. (FirstNEntriesInRowIterator) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-2177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13868640#comment-13868640 ] Corey Nolet commented on ACCUMULO-2177: --------------------------------------- Agreed. I actually got this working today. I began with the FirstEntryInRowIterator and combined some of the batching from the WholeRowIterator ( providing methods for encoding/decoding the batched rows into the value). > A scan time iterator to return the first N entries encountered for each row in the input range. (FirstNEntriesInRowIterator) > ---------------------------------------------------------------------------------------------------------------------------- > > Key: ACCUMULO-2177 > URL: https://issues.apache.org/jira/browse/ACCUMULO-2177 > Project: Accumulo > Issue Type: Improvement > Components: client > Reporter: Corey J. Nolet > Priority: Minor > Labels: iterators > > I have found this iterator extremely useful when it is important to run a batch scan over a bunch of different ranges but guarantee that a predefined number of results get returned for each row. -- This message was sent by Atlassian JIRA (v6.1.5#6160)