public class ExtensionQuery extends Object
ExtensionQuery
holds all query components extracted from the original
query string like the query field and the extension query string.Extensions
,
ExtendableQueryParser
,
ParserExtension
Constructor and Description |
---|
ExtensionQuery(QueryParser topLevelParser,
String field,
String rawQueryString)
Creates a new
ExtensionQuery |
Modifier and Type | Method and Description |
---|---|
String |
getField()
Returns the query field
|
String |
getRawQueryString()
Returns the raw extension query string
|
QueryParser |
getTopLevelParser()
Returns the top level parser which created this
ExtensionQuery |
public ExtensionQuery(QueryParser topLevelParser, String field, String rawQueryString)
ExtensionQuery
field
- the query fieldrawQueryString
- the raw extension query stringpublic String getField()
public String getRawQueryString()
public QueryParser getTopLevelParser()
ExtensionQuery
ExtensionQuery
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.