Class ExpressionStringComparisonRowFilter

java.lang.Object
com.google.refine.browsing.filters.ExpressionStringComparisonRowFilter
All Implemented Interfaces:
RowFilter

public abstract class ExpressionStringComparisonRowFilter extends Object implements RowFilter
Judge if a row matches by evaluating a given expression on the row, based on a particular column, and checking the result. It's a match if the result satisfies some string comparisons.
  • Field Details

    • _evaluable

      protected final Evaluable _evaluable
    • _invert

      protected final Boolean _invert
    • _columnName

      protected final String _columnName
    • _cellIndex

      protected final int _cellIndex
  • Constructor Details

    • ExpressionStringComparisonRowFilter

      public ExpressionStringComparisonRowFilter(Evaluable evaluable, Boolean invert, String columnName, int cellIndex)
  • Method Details

    • filterRow

      public boolean filterRow(Project project, int rowIndex, Row row)
      Specified by:
      filterRow in interface RowFilter
    • checkValue

      protected abstract boolean checkValue(String s)