Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-16893

Use Collection.removeIf instead of Iterator.remove in DependentColumnFilter

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-alpha-2, 2.0.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      This is a performance improvement to use Iterables.removeIf in the filterRowCells method of DependentColumnFilter as described here:

      https://rayokota.wordpress.com/2016/10/20/tips-on-writing-custom-hbase-filters/

        Attachments

        1. HBASE-16893.master.001.patch
          1 kB
          Robert Yokota
        2. HBASE-16893.master.002.patch
          1 kB
          Robert Yokota
        3. HBASE-16893.master.003.patch
          1 kB
          Robert Yokota

          Issue Links

            Activity

              People

              • Assignee:
                rayokota Robert Yokota
                Reporter:
                rayokota Robert Yokota
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: