public class CLIServiceUtils extends Object
Constructor and Description |
---|
CLIServiceUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
patternToRegex(String pattern)
Convert a SQL search pattern into an equivalent Java Regex.
|
public static String patternToRegex(String pattern)
pattern
- input which may contain '%' or '_' wildcard characters, or
these characters escaped using #getSearchStringEscape()
.Copyright © 2021 The Apache Software Foundation. All rights reserved.