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 Summary
Fields Modifier and Type Field Description static WouldMatchPair[]ZERO_LENGTH_WOULD_MATCH_PAIR_ARRAY -
Constructor Summary
Constructors Constructor Description WouldMatchPair(String columnName, SelectFilter filter)Create a SelectPair from a column name andSelectFilterWouldMatchPair(String columnName, String expression)Create a SelectPair from a column name and DB expression. -
Method Summary
Modifier and Type Method Description booleanequals(Object o)StringgetColumnName()SelectFiltergetFilter()inthashCode()
-
Field Details
-
Constructor Details
-
WouldMatchPair
Create a SelectPair from a column name and DB expression.- Parameters:
columnName- the name of the resultant columnexpression- the expression to populate the column
-
WouldMatchPair
Create a SelectPair from a column name andSelectFilter- Parameters:
columnName- the name of the resultant columnfilter- the filter to populate the column- See Also:
SelectFilterFactory
-
-
Method Details