You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Will Berkeley (JIRA)" <ji...@apache.org> on 2019/06/13 18:23:00 UTC
[jira] [Resolved] (KUDU-1017) Simpler Java synchronous API for
iteration
[ https://issues.apache.org/jira/browse/KUDU-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Will Berkeley resolved KUDU-1017.
---------------------------------
Resolution: Implemented
Assignee: Grant Henke
Fix Version/s: 1.10.0
Grant made the KuduScanner iterable with 5735f07f8b6aaf5134c66863519052936aa7487f. I think that improves ease-of-use enough to call this done.
> Simpler Java synchronous API for iteration
> ------------------------------------------
>
> Key: KUDU-1017
> URL: https://issues.apache.org/jira/browse/KUDU-1017
> Project: Kudu
> Issue Type: New Feature
> Components: client
> Affects Versions: M5
> Reporter: Erick Tryzelaar
> Assignee: Grant Henke
> Priority: Major
> Labels: hackathon-feedback
> Fix For: 1.10.0
>
>
> The Java API for synchronous iteration is currently a little more complicated than it might need to be, at least for the simple use case. Right now a {{KuduScanner}} is an iterator over {{RowResultIterator}} iterators, which then need to be iterated over to produce {{RowResult}} objects. I expect many users of this synchronous API would prefer an API that hides the intermediate {{RowResultIterator}}, like [here|http://github.mtv.cloudera.com/erickt/titan/blob/ea2683c92fd2dd79df0b6359f5d5520a78aea637/titan-kudu/src/main/java/com/cloudera/titan/diskstorage/kudu/KuduKeyValueStore.java#L340-L376]. Could we get something like this in the API?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)