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 DB305EDA3 for ; Mon, 14 Jan 2013 16:18:13 +0000 (UTC) Received: (qmail 67458 invoked by uid 500); 14 Jan 2013 16:18:13 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 67429 invoked by uid 500); 14 Jan 2013 16:18:13 -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 67414 invoked by uid 99); 14 Jan 2013 16:18:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jan 2013 16:18:13 +0000 Date: Mon, 14 Jan 2013 16:18:12 +0000 (UTC) From: "Brian Loss (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-956) Iterator to transform key parts 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-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13552832#comment-13552832 ] Brian Loss commented on ACCUMULO-956: ------------------------------------- Yeah, I was trying to keep the test code less redundant. Since MockAccumulo creates the iterator for me, I have no way to pass in the different transformation functions in each test and would instead have to extend the iterator and have one class per test, which seemed overly verbose. However, I can certainly change it to do that, if you think it's better. > Iterator to transform key parts > ------------------------------- > > Key: ACCUMULO-956 > URL: https://issues.apache.org/jira/browse/ACCUMULO-956 > Project: Accumulo > Issue Type: Improvement > Reporter: Brian Loss > Fix For: 1.5.0 > > Attachments: key_transforming_iterator-1.patch, key_transforming_iterator.patch > > > Iterators that transform parts of the key can be tricky if any transformation affects sort ordering. Implement an iterator that takes care of the tricky details that come with modifying sort order (e.g., handling scan-time iterator reconstruction and the associated seek). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira