| Package | Description |
|---|---|
| org.elasticsearch.common.geo.builders | |
| org.elasticsearch.common.unit | |
| org.elasticsearch.index.mapper.geo |
| Modifier and Type | Method and Description |
|---|---|
protected static CircleBuilder |
ShapeBuilder.GeoShapeType.parseCircle(ShapeBuilder.CoordinateNode coordinates,
DistanceUnit.Distance radius) |
CircleBuilder |
CircleBuilder.radius(DistanceUnit.Distance radius)
Set the radius of the circle
|
| Modifier and Type | Method and Description |
|---|---|
DistanceUnit.Distance |
DistanceUnit.Distance.convert(DistanceUnit unit)
Converts a
DistanceUnit.Distance value given in a specific DistanceUnit into
a value equal to the specified value but in a other DistanceUnit. |
static DistanceUnit.Distance |
DistanceUnit.Distance.parseDistance(String distance)
Parse a
DistanceUnit.Distance from a given String. |
| Modifier and Type | Method and Description |
|---|---|
int |
DistanceUnit.Distance.compareTo(DistanceUnit.Distance o) |
| Modifier and Type | Method and Description |
|---|---|
DistanceUnit.Distance |
GeoPointFieldMapperLegacy.Encoding.precision() |
| Modifier and Type | Method and Description |
|---|---|
static GeoPointFieldMapperLegacy.Encoding |
GeoPointFieldMapperLegacy.Encoding.of(DistanceUnit.Distance precision)
Get an instance based on the expected precision.
|
Copyright © 2009–2017. All rights reserved.