@FunctionalInterface
public interface QueryParser<QB extends QueryBuilder>
QueryBuilders from XContent.| Modifier and Type | Method and Description |
|---|---|
QB |
fromXContent(XContentParser parser)
Creates a new
QueryBuilder from the query held by the
XContentParser. |
QB fromXContent(XContentParser parser) throws java.io.IOException
QueryBuilder from the query held by the
XContentParser. The state on the parser contained in this context
will be changed as a side effect of this method calljava.io.IOException