Package org.apache.lucene.spatial.prefix
Class PointPrefixTreeFieldCacheProvider
- java.lang.Object
-
- org.apache.lucene.spatial.util.ShapeFieldCacheProvider<org.locationtech.spatial4j.shape.Point>
-
- org.apache.lucene.spatial.prefix.PointPrefixTreeFieldCacheProvider
-
public class PointPrefixTreeFieldCacheProvider extends ShapeFieldCacheProvider<org.locationtech.spatial4j.shape.Point>
Implementation ofShapeFieldCacheProvider
designed forPrefixTreeStrategy
s that index points (AND ONLY POINTS!).- NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
-
-
Field Summary
-
Fields inherited from class org.apache.lucene.spatial.util.ShapeFieldCacheProvider
defaultSize, shapeField
-
-
Constructor Summary
Constructors Constructor Description PointPrefixTreeFieldCacheProvider(SpatialPrefixTree grid, String shapeField, int defaultSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.locationtech.spatial4j.shape.Point
readShape(BytesRef term)
-
Methods inherited from class org.apache.lucene.spatial.util.ShapeFieldCacheProvider
getCache
-
-
-
-
Constructor Detail
-
PointPrefixTreeFieldCacheProvider
public PointPrefixTreeFieldCacheProvider(SpatialPrefixTree grid, String shapeField, int defaultSize)
-
-
Method Detail
-
readShape
protected org.locationtech.spatial4j.shape.Point readShape(BytesRef term)
- Specified by:
readShape
in classShapeFieldCacheProvider<org.locationtech.spatial4j.shape.Point>
-
-