Class RegularExpressionConverter
java.lang.Object
org.datanucleus.util.RegularExpressionConverter
Converter for a "matches" regular expression replacing the Java regular expression
constructs with datastore-specific constructs.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final charprivate final charprivate final char -
Constructor Summary
ConstructorsConstructorDescriptionRegularExpressionConverter(char zeroOrMoreChar, char anyChar, char escapeChar) Constructor. -
Method Summary
-
Field Details
-
zeroOrMoreChar
private final char zeroOrMoreChar -
anyChar
private final char anyChar -
escapeChar
private final char escapeChar
-
-
Constructor Details
-
RegularExpressionConverter
public RegularExpressionConverter(char zeroOrMoreChar, char anyChar, char escapeChar) Constructor.- Parameters:
zeroOrMoreChar- The pattern string for representing zero or more characters. Most of databases will use the percent sign character.anyChar- The pattern string for representing one character. Most of databases will use the underscore character.escapeChar- The pattern string for representing to escape zeroOrMoreChar or anyChar. Most of databases will use the backslash \ character.
-
-
Method Details
-
convert
-