Class ConjunctiveFilteredRows

java.lang.Object
com.google.refine.browsing.util.ConjunctiveFilteredRows
All Implemented Interfaces:
FilteredRows

public class ConjunctiveFilteredRows extends Object implements FilteredRows
Encapsulate logic for visiting rows that match all give row filters. Also visit context rows and dependent rows if configured so.
  • Field Details

  • Constructor Details

    • ConjunctiveFilteredRows

      public ConjunctiveFilteredRows()
  • Method Details

    • add

      public void add(RowFilter rowFilter)
    • accept

      public void accept(Project project, RowVisitor visitor)
      Description copied from interface: FilteredRows
      Go through the rows of the given project, determine which match and which don't, and call visitor.visit() on those that match, and possibly their context and dependent rows.
      Specified by:
      accept in interface FilteredRows
    • visitRow

      protected boolean visitRow(Project project, RowVisitor visitor, int rowIndex, Row row)
    • matchRow

      protected boolean matchRow(Project project, int rowIndex, Row row)