public class PointPrefixTreeFieldCacheProvider extends ShapeFieldCacheProvider<org.locationtech.spatial4j.shape.Point>
ShapeFieldCacheProvider
designed for PrefixTreeStrategy
s that index points
(AND ONLY POINTS!).defaultSize, shapeField
Constructor and Description |
---|
PointPrefixTreeFieldCacheProvider(SpatialPrefixTree grid,
String shapeField,
int defaultSize) |
Modifier and Type | Method and Description |
---|---|
protected org.locationtech.spatial4j.shape.Point |
readShape(BytesRef term) |
getCache
public PointPrefixTreeFieldCacheProvider(SpatialPrefixTree grid, String shapeField, int defaultSize)
protected org.locationtech.spatial4j.shape.Point readShape(BytesRef term)
readShape
in class ShapeFieldCacheProvider<org.locationtech.spatial4j.shape.Point>
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.