Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.19.0
    • Component/s: None
    • Labels:
      None

      Description

      Add a getFamily method that returns all the Cells for a column. Something like:

      public Cell[] getFamily(byte[] row, byte[] family, long timestamp, int versions)
      

        Activity

        Hide
        Edward J. Yoon added a comment -

        +1 from me. Really needs this.

        Show
        Edward J. Yoon added a comment - +1 from me. Really needs this.
        Hide
        sishen added a comment -

        Is it better to add versions argument to the method HTable#getRow(final byte [] row, final byte [][] columns, final long ts) instead of creating this new method?

        Show
        sishen added a comment - Is it better to add versions argument to the method HTable#getRow(final byte [] row, final byte [][] columns, final long ts) instead of creating this new method?
        Hide
        Jim Kellerman added a comment -

        Good point! Made this issue a subtask of HBASE-847.

        Show
        Jim Kellerman added a comment - Good point! Made this issue a subtask of HBASE-847 .
        Hide
        stack added a comment -

        Doğacan, ok if we move this out of 0.19.0?

        Show
        stack added a comment - Doğacan, ok if we move this out of 0.19.0?
        Hide
        stack added a comment -

        Moving to 0.20.0 with Doğacan Güney's permission over in hbase-847

        Show
        stack added a comment - Moving to 0.20.0 with Doğacan Güney's permission over in hbase-847
        Hide
        stack added a comment -

        Doğacan, can I get a famlly only with hbase-847?

        Show
        stack added a comment - Doğacan, can I get a famlly only with hbase-847?
        Hide
        stack added a comment -

        If I do:

        getRow(row, columns, numVersions, ts)
        

        ... where the columns are families, will this get all cells for all columns of mentioned families?

        Show
        stack added a comment - If I do: getRow(row, columns, numVersions, ts) ... where the columns are families, will this get all cells for all columns of mentioned families?
        Hide
        Doğacan Güney added a comment -

        Hmm, I haven't changed the behaviour there, so I checked and yes: passing columns will return all column families.

        Show
        Doğacan Güney added a comment - Hmm, I haven't changed the behaviour there, so I checked and yes: passing columns will return all column families.
        Hide
        stack added a comment -

        Resolved. Thanks Doğacan.

        Show
        stack added a comment - Resolved. Thanks Doğacan.

          People

          • Assignee:
            Doğacan Güney
            Reporter:
            Jim Kellerman
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development