public class LikePredicate extends FilterPredicate
| Modifier and Type | Class and Description |
|---|---|
static class |
LikePredicate.Type |
| Modifier and Type | Field and Description |
|---|---|
static char |
WILDCARD_CHAR |
EMPTY_FILTER| Constructor and Description |
|---|
LikePredicate(String headerName,
String query) |
LikePredicate(String headerName,
String query,
LikePredicate.Type type) |
| Modifier and Type | Method and Description |
|---|---|
static LikePredicate.Type |
findQueryType(String query) |
static String |
removeQueryChars(String query,
LikePredicate.Type type) |
String |
toString()
Returns a string representation for this predicate
|
boolean |
valid(KeyValueGetter<String,?> kv)
Returns true if the row is valid for this predicate
|
public static final char WILDCARD_CHAR
public LikePredicate(String headerName, String query, LikePredicate.Type type)
public static LikePredicate.Type findQueryType(String query)
public static String removeQueryChars(String query, LikePredicate.Type type)
public boolean valid(KeyValueGetter<String,?> kv)
FilterPredicatevalid in class FilterPredicatekv - tested rowpublic String toString()
FilterPredicatetoString in class FilterPredicateCopyright © 2020. All rights reserved.