accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Loss (JIRA)" <>
Subject [jira] [Updated] (ACCUMULO-956) Iterator to transform key parts
Date Fri, 11 Jan 2013 21:00:12 GMT


Brian Loss updated ACCUMULO-956:

    Attachment: key_transforming_iterator-1.patch

After an offline discussion with Keith, I added some utility methods to copy key parts.  These
methods handle setting the delete flag properly, which is something that is easy to miss/forget.
 The idea is that people who extend this iterator and implement the transformKey method could
use these methods to compute the final key.  The javadoc indicates that the delete flag needs
to be set and also suggests using these new methods.
> Iterator to transform key parts
> -------------------------------
>                 Key: ACCUMULO-956
>                 URL:
>             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

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:

View raw message