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