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

Use Collection.removeIf instead of Iterator.remove in DependentColumnFilter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.0-alpha-2, 2.0.0
    • None
    • None
    • 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.003.patch
          1 kB
          Robert Yokota
        2. HBASE-16893.master.002.patch
          1 kB
          Robert Yokota
        3. HBASE-16893.master.001.patch
          1 kB
          Robert Yokota

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: