public interface EscapeQuerySyntax
EscapeQuerySyntax
to allow the QueryNode
to escape the queries, when the toQueryString method is called.Modifier and Type | Interface and Description |
---|---|
static class |
EscapeQuerySyntax.Type
Type of escaping: String for escaping syntax,
NORMAL for escaping reserved words (like AND) in terms
|
Modifier and Type | Method and Description |
---|---|
CharSequence |
escape(CharSequence text,
Locale locale,
EscapeQuerySyntax.Type type) |
CharSequence escape(CharSequence text, Locale locale, EscapeQuerySyntax.Type type)
text
- - text to be escapedlocale
- - locale for the current querytype
- - select the type of escape operation to useCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.