public class PointPrefixTreeFieldCacheProvider extends ShapeFieldCacheProvider<com.spatial4j.core.shape.Point>
ShapeFieldCacheProvider designed for PrefixTreeStrategys.
Note, due to the fragmented representation of Shapes in these Strategies, this implementation
can only retrieve the central Point of the original Shapes.defaultSize, shapeField| Constructor and Description |
|---|
PointPrefixTreeFieldCacheProvider(SpatialPrefixTree grid,
String shapeField,
int defaultSize) |
| Modifier and Type | Method and Description |
|---|---|
protected com.spatial4j.core.shape.Point |
readShape(BytesRef term) |
getCachepublic PointPrefixTreeFieldCacheProvider(SpatialPrefixTree grid, String shapeField, int defaultSize)
protected com.spatial4j.core.shape.Point readShape(BytesRef term)
readShape in class ShapeFieldCacheProvider<com.spatial4j.core.shape.Point>Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.