public class PatternColumnPredicate extends Object implements Predicate<Object>
Pattern
. The static
factory methods can be used to construct the Pattern from various forms of
wildcard pattern syntaxes.
This class can be used as a value pattern in the various Cursor search
methods, e.g. Cursor.findFirstRow(com.healthmarketscience.jackcess.Column,Object)
.Constructor and Description |
---|
PatternColumnPredicate(Pattern pattern) |
Modifier and Type | Method and Description |
---|---|
static PatternColumnPredicate |
forAccessLike(String pattern) |
static PatternColumnPredicate |
forJavaRegex(String pattern) |
static PatternColumnPredicate |
forSqlLike(String pattern) |
static PatternColumnPredicate |
forSqlLike(String pattern,
boolean caseInsensitive) |
boolean |
test(Object value) |
public PatternColumnPredicate(Pattern pattern)
public static PatternColumnPredicate forAccessLike(String pattern)
public static PatternColumnPredicate forSqlLike(String pattern)
public static PatternColumnPredicate forSqlLike(String pattern, boolean caseInsensitive)
public static PatternColumnPredicate forJavaRegex(String pattern)
Copyright © 2005–2024 OpenHMS. All rights reserved.