public static class LatLonPointSpatialField.LatLonPointSpatialStrategy extends SpatialStrategy
ctx
Constructor and Description |
---|
LatLonPointSpatialStrategy(org.locationtech.spatial4j.context.SpatialContext ctx,
String fieldName,
boolean indexed,
boolean docValues) |
Modifier and Type | Method and Description |
---|---|
Field[] |
createIndexableFields(org.locationtech.spatial4j.shape.Shape shape) |
DoubleValuesSource |
makeDistanceValueSource(org.locationtech.spatial4j.shape.Point queryPoint,
double multiplier) |
Query |
makeQuery(SpatialArgs args) |
protected Query |
makeQueryFromDocValues(org.locationtech.spatial4j.shape.Shape shape) |
protected Query |
makeQueryFromIndex(org.locationtech.spatial4j.shape.Shape shape) |
getFieldName, getSpatialContext, makeDistanceValueSource, makeRecipDistanceValueSource, toString
public LatLonPointSpatialStrategy(org.locationtech.spatial4j.context.SpatialContext ctx, String fieldName, boolean indexed, boolean docValues)
public Field[] createIndexableFields(org.locationtech.spatial4j.shape.Shape shape)
createIndexableFields
in class SpatialStrategy
public Query makeQuery(SpatialArgs args)
makeQuery
in class SpatialStrategy
protected Query makeQueryFromIndex(org.locationtech.spatial4j.shape.Shape shape)
protected Query makeQueryFromDocValues(org.locationtech.spatial4j.shape.Shape shape)
public DoubleValuesSource makeDistanceValueSource(org.locationtech.spatial4j.shape.Point queryPoint, double multiplier)
makeDistanceValueSource
in class SpatialStrategy
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.