[jira] [Updated] (OAK-790) ResultRow#getSize() always returns -1
[ https://issues.apache.org/jira/browse/OAK-790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela updated OAK-790: --- Fix Version/s: (was: 1.2) > ResultRow#getSize() always returns -1 > - > > Key: OAK-790 > URL: https://issues.apache.org/jira/browse/OAK-790 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: core, query >Reporter: angela > Labels: api > > just had a failing test due to the fact that my code was > trying to find out if the query produce any result before > starting to look over the result entries. > that didn't work since ResultRow#getSize() always returned -1. > if fixed my problem by just getting rid of ResultRow#getSize(). > i would suggest to either > - implement getSize() for 'nothing-found' and/or a few results found > - drop the method from the OAK interface altogether if we are never > going to implement > - add #isEmpty for those cases were someone just wanted to know if a > query found something without the need of knowing the exact number. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OAK-790) ResultRow#getSize() always returns -1
[ https://issues.apache.org/jira/browse/OAK-790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger updated OAK-790: - Fix Version/s: (was: 1.1.1) 1.2 > ResultRow#getSize() always returns -1 > - > > Key: OAK-790 > URL: https://issues.apache.org/jira/browse/OAK-790 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: core, query >Reporter: angela > Labels: api > Fix For: 1.2 > > > just had a failing test due to the fact that my code was > trying to find out if the query produce any result before > starting to look over the result entries. > that didn't work since ResultRow#getSize() always returned -1. > if fixed my problem by just getting rid of ResultRow#getSize(). > i would suggest to either > - implement getSize() for 'nothing-found' and/or a few results found > - drop the method from the OAK interface altogether if we are never > going to implement > - add #isEmpty for those cases were someone just wanted to know if a > query found something without the need of knowing the exact number. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OAK-790) ResultRow#getSize() always returns -1
[ https://issues.apache.org/jira/browse/OAK-790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amit Jain updated OAK-790: -- Fix Version/s: (was: 1.1) 1.1.1 > ResultRow#getSize() always returns -1 > - > > Key: OAK-790 > URL: https://issues.apache.org/jira/browse/OAK-790 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: core, query >Reporter: angela > Labels: api > Fix For: 1.1.1 > > > just had a failing test due to the fact that my code was > trying to find out if the query produce any result before > starting to look over the result entries. > that didn't work since ResultRow#getSize() always returned -1. > if fixed my problem by just getting rid of ResultRow#getSize(). > i would suggest to either > - implement getSize() for 'nothing-found' and/or a few results found > - drop the method from the OAK interface altogether if we are never > going to implement > - add #isEmpty for those cases were someone just wanted to know if a > query found something without the need of knowing the exact number. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OAK-790) ResultRow#getSize() always returns -1
[ https://issues.apache.org/jira/browse/OAK-790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dürig updated OAK-790: -- Labels: api (was: ) > ResultRow#getSize() always returns -1 > - > > Key: OAK-790 > URL: https://issues.apache.org/jira/browse/OAK-790 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: core, query >Reporter: angela > Labels: api > Fix For: 1.1 > > > just had a failing test due to the fact that my code was > trying to find out if the query produce any result before > starting to look over the result entries. > that didn't work since ResultRow#getSize() always returned -1. > if fixed my problem by just getting rid of ResultRow#getSize(). > i would suggest to either > - implement getSize() for 'nothing-found' and/or a few results found > - drop the method from the OAK interface altogether if we are never > going to implement > - add #isEmpty for those cases were someone just wanted to know if a > query found something without the need of knowing the exact number. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (OAK-790) ResultRow#getSize() always returns -1
[ https://issues.apache.org/jira/browse/OAK-790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Marth updated OAK-790: -- Fix Version/s: (was: 0.14) 1.0 > ResultRow#getSize() always returns -1 > - > > Key: OAK-790 > URL: https://issues.apache.org/jira/browse/OAK-790 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: core, query >Reporter: angela > Fix For: 1.0 > > > just had a failing test due to the fact that my code was > trying to find out if the query produce any result before > starting to look over the result entries. > that didn't work since ResultRow#getSize() always returned -1. > if fixed my problem by just getting rid of ResultRow#getSize(). > i would suggest to either > - implement getSize() for 'nothing-found' and/or a few results found > - drop the method from the OAK interface altogether if we are never > going to implement > - add #isEmpty for those cases were someone just wanted to know if a > query found something without the need of knowing the exact number. -- This message was sent by Atlassian JIRA (v6.1.4#6159)
[jira] [Updated] (OAK-790) ResultRow#getSize() always returns -1
[ https://issues.apache.org/jira/browse/OAK-790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Marth updated OAK-790: -- Issue Type: Improvement (was: Bug) > ResultRow#getSize() always returns -1 > - > > Key: OAK-790 > URL: https://issues.apache.org/jira/browse/OAK-790 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: core, query >Reporter: angela > Fix For: 1.0 > > > just had a failing test due to the fact that my code was > trying to find out if the query produce any result before > starting to look over the result entries. > that didn't work since ResultRow#getSize() always returned -1. > if fixed my problem by just getting rid of ResultRow#getSize(). > i would suggest to either > - implement getSize() for 'nothing-found' and/or a few results found > - drop the method from the OAK interface altogether if we are never > going to implement > - add #isEmpty for those cases were someone just wanted to know if a > query found something without the need of knowing the exact number. -- This message was sent by Atlassian JIRA (v6.1.4#6159)
[jira] [Updated] (OAK-790) ResultRow#getSize() always returns -1
[ https://issues.apache.org/jira/browse/OAK-790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela updated OAK-790: --- Component/s: query > ResultRow#getSize() always returns -1 > - > > Key: OAK-790 > URL: https://issues.apache.org/jira/browse/OAK-790 > Project: Jackrabbit Oak > Issue Type: Bug > Components: core, query >Reporter: angela > Fix For: 0.14 > > > just had a failing test due to the fact that my code was > trying to find out if the query produce any result before > starting to look over the result entries. > that didn't work since ResultRow#getSize() always returned -1. > if fixed my problem by just getting rid of ResultRow#getSize(). > i would suggest to either > - implement getSize() for 'nothing-found' and/or a few results found > - drop the method from the OAK interface altogether if we are never > going to implement > - add #isEmpty for those cases were someone just wanted to know if a > query found something without the need of knowing the exact number. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Updated] (OAK-790) ResultRow#getSize() always returns -1
[ https://issues.apache.org/jira/browse/OAK-790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Marth updated OAK-790: -- Fix Version/s: 0.14 > ResultRow#getSize() always returns -1 > - > > Key: OAK-790 > URL: https://issues.apache.org/jira/browse/OAK-790 > Project: Jackrabbit Oak > Issue Type: Bug > Components: core >Reporter: angela > Fix For: 0.14 > > > just had a failing test due to the fact that my code was > trying to find out if the query produce any result before > starting to look over the result entries. > that didn't work since ResultRow#getSize() always returned -1. > if fixed my problem by just getting rid of ResultRow#getSize(). > i would suggest to either > - implement getSize() for 'nothing-found' and/or a few results found > - drop the method from the OAK interface altogether if we are never > going to implement > - add #isEmpty for those cases were someone just wanted to know if a > query found something without the need of knowing the exact number. -- This message was sent by Atlassian JIRA (v6.1#6144)