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 |
|---|---|
java.lang.CharSequence |
escape(java.lang.CharSequence text,
java.util.Locale locale,
EscapeQuerySyntax.Type type) |
java.lang.CharSequence escape(java.lang.CharSequence text,
java.util.Locale locale,
EscapeQuerySyntax.Type type)
text - - text to be escapedlocale - - locale for the current querytype - - select the type of escape operation to useCopyright © 2000–2025 The Apache Software Foundation. All rights reserved.