Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-240

Add the total number of rows in the ViewResponce

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.2
    • Fix Version/s: 1.4.0-dp1
    • Component/s: Core
    • Security Level: Public
    • Labels:
      None

      Description

      It will be great to have the total number of rows in the ViewResponse object when calling a view.

      This is the value present in the JSON attribute "total_rows" of a response
      {"total_rows":1412,"rows":[

      This enhancement request comes from the community forum:
      http://www.couchbase.com/forums/thread/recommend-including-totalrows-value-java-client-viewresponse-class

      # Subject Project Status CR V
      For Gerrit Dashboard: &For+JCBC-240=message:JCBC-240

        Activity

        Show
        daschl Michael Nitschinger added a comment - http://review.couchbase.com/#/c/25027/
        Hide
        zooldk Steffen Larsen added a comment -

        PS: The SDK version that was used was 1.1.5

        Show
        zooldk Steffen Larsen added a comment - PS: The SDK version that was used was 1.1.5
        Hide
        bdw429s Brad Wood added a comment -

        What is the status of this ticket? The patch in the link says it will be included in version 1.2.3, but the current version of the Java SDK is 1.3.1 and I don't see "total_rows" available.

        Show
        bdw429s Brad Wood added a comment - What is the status of this ticket? The patch in the link says it will be included in version 1.2.3, but the current version of the Java SDK is 1.3.1 and I don't see "total_rows" available.
        Hide
        daschl Michael Nitschinger added a comment -

        it's in - finally

        Show
        daschl Michael Nitschinger added a comment - it's in - finally
        Hide
        bdw429s Brad Wood added a comment -

        Yeah!

        Show
        bdw429s Brad Wood added a comment - Yeah!

          People

          • Assignee:
            daschl Michael Nitschinger
            Reporter:
            tgrall Tug Grall (Inactive)
          • Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes