Package com.zendesk.maxwell.filtering
Class FilterColumnPattern
- java.lang.Object
-
- com.zendesk.maxwell.filtering.FilterPattern
-
- com.zendesk.maxwell.filtering.FilterColumnPattern
-
public class FilterColumnPattern extends FilterPattern
-
-
Field Summary
-
Fields inherited from class com.zendesk.maxwell.filtering.FilterPattern
type
-
-
Constructor Summary
Constructors Constructor Description FilterColumnPattern(FilterPatternType type, Pattern dbPattern, Pattern tablePattern, String columnName, Pattern columnPattern)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
couldIncludeColumn(String database, String table, Set<String> columns)
void
match(String database, String table, com.zendesk.maxwell.filtering.FilterResult match)
void
matchValue(String database, String table, Map<String,Object> data, com.zendesk.maxwell.filtering.FilterResult match)
String
toString()
-
Methods inherited from class com.zendesk.maxwell.filtering.FilterPattern
appliesTo, getDatabasePattern, getTablePattern, getType, patternToString
-
-
-
-
Constructor Detail
-
FilterColumnPattern
public FilterColumnPattern(FilterPatternType type, Pattern dbPattern, Pattern tablePattern, String columnName, Pattern columnPattern)
-
-
Method Detail
-
match
public void match(String database, String table, com.zendesk.maxwell.filtering.FilterResult match)
- Overrides:
match
in classFilterPattern
-
matchValue
public void matchValue(String database, String table, Map<String,Object> data, com.zendesk.maxwell.filtering.FilterResult match)
- Overrides:
matchValue
in classFilterPattern
-
couldIncludeColumn
public boolean couldIncludeColumn(String database, String table, Set<String> columns)
- Overrides:
couldIncludeColumn
in classFilterPattern
-
toString
public String toString()
- Overrides:
toString
in classFilterPattern
-
-