[
https://issues.apache.org/jira/browse/ACCUMULO-956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
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: 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