@InternalApi public abstract class MetadataPatternMatcher extends java.lang.Object
 This behaves similar to (but not 100% identical to) a SQL LIKE pattern with ESCAPE '\' clause.
 
This implementation is not thread-safe.
| Modifier and Type | Method and Description | 
|---|---|
| static MetadataPatternMatcher | fromPattern(MetadataPattern metadataPattern)Derives a metadata pattern matcher from a metadata pattern instance. | 
| abstract boolean | matches(java.lang.String value)Checks if  valuematches the pattern of this matcher. | 
| static java.lang.String | patternToRegex(java.lang.String metadataPattern)Creates a regular expression pattern equivalent to the provided database metadata pattern. | 
public static MetadataPatternMatcher fromPattern(MetadataPattern metadataPattern)
metadataPattern - Metadata pattern instancemetadataPatternpublic abstract boolean matches(java.lang.String value)
value matches the pattern of this matcher.
 This method is not thread-safe.
value - Value to checktrue if value matches this pattern, false otherwisepublic static java.lang.String patternToRegex(java.lang.String metadataPattern)
metadataPattern - database metadata patternCopyright © 2001-2024 Jaybird (Firebird JDBC) team. All rights reserved.