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