[
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