Class Contains
java.lang.Object
com.northconcepts.datapipeline.filter.FieldFilterRule
com.northconcepts.datapipeline.filter.rule.Contains
A
FieldFilterRule that allows fields whose value, as a string, contains the given text; null values are rejected.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if the given field satisfies this rule; called byFieldFilterwith each field it checks.getValue()Returns the text that field values must contain.booleansetCaseSensitive(boolean caseSensitive) Sets the text that field values must contain.toString()Methods inherited from class com.northconcepts.datapipeline.filter.FieldFilterRule
getFieldFilter
-
Constructor Details
-
Contains
Creates a case-sensitive rule for the given text. -
Contains
-
-
Method Details
-
getValue
Returns the text that field values must contain. -
setValue
Sets the text that field values must contain. -
isCaseSensitive
public boolean isCaseSensitive() -
setCaseSensitive
-
allow
Description copied from class:FieldFilterRuleReturns true if the given field satisfies this rule; called byFieldFilterwith each field it checks.- Specified by:
allowin classFieldFilterRule
-
toString
-