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