Class PointPrefixTreeFieldCacheProvider
Implementation of ShapeFieldCacheProvider<T> designed for PrefixTreeStrategys.
Note, due to the fragmented representation of Shapes in these Strategies, this implementation
can only retrieve the central
This is a Lucene.NET INTERNAL API, use at your own risk
Inherited Members
Namespace: Lucene.Net.Spatial.Prefix
Assembly: Lucene.Net.Spatial.dll
Syntax
public class PointPrefixTreeFieldCacheProvider : ShapeFieldCacheProvider<IPoint>
Constructors
| Improve this Doc View SourcePointPrefixTreeFieldCacheProvider(SpatialPrefixTree, String, Int32)
Declaration
public PointPrefixTreeFieldCacheProvider(SpatialPrefixTree grid, string shapeField, int defaultSize)
Parameters
Type | Name | Description |
---|---|---|
SpatialPrefixTree | grid | |
System.String | shapeField | |
System.Int32 | defaultSize |
Methods
| Improve this Doc View SourceReadShape(BytesRef)
Declaration
protected override IPoint ReadShape(BytesRef term)
Parameters
Type | Name | Description |
---|---|---|
BytesRef | term |
Returns
Type | Description |
---|---|
IPoint |
Overrides
Lucene.Net.Spatial.Util.ShapeFieldCacheProvider<IPoint>.ReadShape(Lucene.Net.Util.BytesRef)