public static class GeohashCellQuery.Builder extends QueryBuilder
fieldname and
geohash to be set. the default for a neighbor filteing is
false.ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| コンストラクタと説明 |
|---|
Builder(String field) |
Builder(String field,
GeoPoint point) |
Builder(String field,
String geohash) |
Builder(String field,
String geohash,
boolean neighbors) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected void |
doXContent(XContentBuilder builder,
ToXContent.Params params) |
GeohashCellQuery.Builder |
field(String field) |
GeohashCellQuery.Builder |
geohash(String geohash) |
GeohashCellQuery.Builder |
neighbors(boolean neighbors) |
GeohashCellQuery.Builder |
point(double lat,
double lon) |
GeohashCellQuery.Builder |
point(GeoPoint point) |
GeohashCellQuery.Builder |
precision(int levels) |
GeohashCellQuery.Builder |
precision(String precision) |
toXContentbuildAsBytes, buildAsBytes, toStringpublic Builder(String field)
public GeohashCellQuery.Builder point(GeoPoint point)
public GeohashCellQuery.Builder point(double lat, double lon)
public GeohashCellQuery.Builder geohash(String geohash)
public GeohashCellQuery.Builder precision(int levels)
public GeohashCellQuery.Builder precision(String precision)
public GeohashCellQuery.Builder neighbors(boolean neighbors)
public GeohashCellQuery.Builder field(String field)
protected void doXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
doXContent クラス内 QueryBuilderIOExceptionCopyright © 2009–2016. All rights reserved.