@FunctionalInterface
public interface QueryParser<QB extends QueryBuilder>
QueryBuilder
s from XContent
.Modifier and Type | Method and Description |
---|---|
java.util.Optional<QB> |
fromXContent(QueryParseContext parseContext)
|
java.util.Optional<QB> fromXContent(QueryParseContext parseContext) throws java.io.IOException
parseContext
- the input parse context. The state on the parser contained in
this context will be changed as a side effect of this method
calljava.io.IOException