You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/05/17 06:48:00 UTC
[jira] [Commented] (GORA-444) Add #size() to Result API
[ https://issues.apache.org/jira/browse/GORA-444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16478621#comment-16478621 ]
ASF GitHub Bot commented on GORA-444:
-------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/gora/pull/132
> Add #size() to Result API
> -------------------------
>
> Key: GORA-444
> URL: https://issues.apache.org/jira/browse/GORA-444
> Project: Apache Gora
> Issue Type: New Feature
> Components: gora-core
> Reporter: Lewis John McGibbney
> Priority: Minor
> Fix For: 0.9
>
>
> Right now we iterate through results by doing
> {code}
> while (results.next()) {
> ...
> }
> {code}
> It is a pain to always require a counter of sorts and would be much more intuitive to provide a simple #size() method.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)