public class GeoDistanceRangeQueryParser extends java.lang.Object implements QueryParser<GeoDistanceRangeQueryBuilder>
{ "name.lat" : 1.1, "name.lon" : 1.2, }
Modifier and Type | Field and Description |
---|---|
static ParseField |
BOOST_FIELD |
static ParseField |
COERCE_FIELD |
static ParseField |
DISTANCE_TYPE_FIELD |
static ParseField |
FROM_FIELD |
static ParseField |
GT_FIELD |
static ParseField |
GTE_FIELD |
static ParseField |
IGNORE_MALFORMED_FIELD |
static ParseField |
INCLUDE_LOWER_FIELD |
static ParseField |
INCLUDE_UPPER_FIELD |
static ParseField |
LT_FIELD |
static ParseField |
LTE_FIELD |
static ParseField |
NAME_FIELD |
static ParseField |
OPTIMIZE_BBOX_FIELD |
static ParseField |
TO_FIELD |
static ParseField |
UNIT_FIELD |
static ParseField |
VALIDATION_METHOD |
Constructor and Description |
---|
GeoDistanceRangeQueryParser() |
Modifier and Type | Method and Description |
---|---|
GeoDistanceRangeQueryBuilder |
fromXContent(QueryParseContext parseContext)
|
GeoDistanceRangeQueryBuilder |
getBuilderPrototype() |
java.lang.String[] |
names()
The names this query parser is registered under.
|
public static final ParseField FROM_FIELD
public static final ParseField TO_FIELD
public static final ParseField INCLUDE_LOWER_FIELD
public static final ParseField INCLUDE_UPPER_FIELD
public static final ParseField GT_FIELD
public static final ParseField GTE_FIELD
public static final ParseField LT_FIELD
public static final ParseField LTE_FIELD
public static final ParseField UNIT_FIELD
public static final ParseField DISTANCE_TYPE_FIELD
public static final ParseField NAME_FIELD
public static final ParseField BOOST_FIELD
public static final ParseField OPTIMIZE_BBOX_FIELD
public static final ParseField COERCE_FIELD
public static final ParseField IGNORE_MALFORMED_FIELD
public static final ParseField VALIDATION_METHOD
public java.lang.String[] names()
QueryParser
names
in interface QueryParser<GeoDistanceRangeQueryBuilder>
public GeoDistanceRangeQueryBuilder getBuilderPrototype()
getBuilderPrototype
in interface QueryParser<GeoDistanceRangeQueryBuilder>
QueryBuilder
instance for this parser that can be used for deserializationpublic GeoDistanceRangeQueryBuilder fromXContent(QueryParseContext parseContext) throws java.io.IOException
QueryParser
fromXContent
in interface QueryParser<GeoDistanceRangeQueryBuilder>
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