You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Christopher Tubbs (JIRA)" <ji...@apache.org> on 2019/06/11 04:49:00 UTC
[jira] [Updated] (ACCUMULO-4520) Utilize Java 8 in RFile
[ https://issues.apache.org/jira/browse/ACCUMULO-4520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christopher Tubbs updated ACCUMULO-4520:
----------------------------------------
Affects Version/s: (was: 2.0.0)
Fix Version/s: (was: 2.0.0)
> Utilize Java 8 in RFile
> -----------------------
>
> Key: ACCUMULO-4520
> URL: https://issues.apache.org/jira/browse/ACCUMULO-4520
> Project: Accumulo
> Issue Type: Improvement
> Components: core
> Reporter: Michael Miller
> Priority: Minor
>
> There are a few places in o.a.a.core.file.rfile.RFile where Java 8 functional programing could improve readability. There is some potential for performance improvement as well.
> One example of an improvement would be to change the 3 LocalityGroupReader arrays (currentReaders, readers and sampleReaders) in the RFile.Reader class to ArrayLists. This would allow use of the forEach in stream package.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)