public class ExistsQueryParser extends java.lang.Object implements QueryParser<ExistsQueryBuilder>
Modifier and Type | Field and Description |
---|---|
static ParseField |
FIELD_FIELD |
Constructor and Description |
---|
ExistsQueryParser() |
Modifier and Type | Method and Description |
---|---|
ExistsQueryBuilder |
fromXContent(QueryParseContext parseContext)
|
ExistsQueryBuilder |
getBuilderPrototype() |
java.lang.String[] |
names()
The names this query parser is registered under.
|
public static final ParseField FIELD_FIELD
public java.lang.String[] names()
QueryParser
names
in interface QueryParser<ExistsQueryBuilder>
public ExistsQueryBuilder fromXContent(QueryParseContext parseContext) throws java.io.IOException
QueryParser
fromXContent
in interface QueryParser<ExistsQueryBuilder>
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
public ExistsQueryBuilder getBuilderPrototype()
getBuilderPrototype
in interface QueryParser<ExistsQueryBuilder>
QueryBuilder
instance for this parser that can be used for deserialization