parent
84af7d9f9a
commit
dcfc7cead0
|
@ -56,6 +56,12 @@ public class TemplateQueryParser implements QueryParser {
|
|||
return new String[] {NAME};
|
||||
}
|
||||
|
||||
/**
|
||||
* Parses the template query replacing template parameters with provided values.
|
||||
* Handles both submitting the template as part of the request as well as
|
||||
* referencing only the template name.
|
||||
* @param parseContext parse context containing the templated query.
|
||||
*/
|
||||
@Override
|
||||
@Nullable
|
||||
public Query parse(QueryParseContext parseContext) throws IOException {
|
||||
|
|
Loading…
Reference in New Issue