public class MatchPredicate extends FilterPredicate
EMPTY_FILTER| Constructor and Description |
|---|
MatchPredicate(String headerName,
Pattern pattern)
Creates a match predicate using a row column name and a
Pattern |
MatchPredicate(String headerName,
String patternString)
Creates a match predicate using a row column name and a pattern string
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString()
Returns a string representation for this predicate
|
boolean |
valid(Row row)
Returns true if the row column value matches the pattern
|
public MatchPredicate(String headerName, String patternString)
headerName - row column namepatternString - pattern stringpublic boolean valid(Row row)
valid in class FilterPredicaterow - tested rowpublic String toString()
FilterPredicatetoString in class FilterPredicateCopyright © 2017. All rights reserved.