Class WouldMatchPair

java.lang.Object
com.illumon.iris.db.tables.select.WouldMatchPair

public class WouldMatchPair extends Object
A Pair of (Column name, Filter) for use with Table.wouldMatch(String...).
  • Field Details

    • ZERO_LENGTH_WOULD_MATCH_PAIR_ARRAY

      public static final WouldMatchPair[] ZERO_LENGTH_WOULD_MATCH_PAIR_ARRAY
  • Constructor Details

    • WouldMatchPair

      public WouldMatchPair(String columnName, String expression)
      Create a SelectPair from a column name and DB expression.
      Parameters:
      columnName - the name of the resultant column
      expression - the expression to populate the column
    • WouldMatchPair

      public WouldMatchPair(String columnName, SelectFilter filter)
      Create a SelectPair from a column name and SelectFilter
      Parameters:
      columnName - the name of the resultant column
      filter - the filter to populate the column
      See Also:
  • Method Details