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 Spatial4n.Core.Shapes.IPoint of the original Shapes.
This is a Lucene.NET INTERNAL API, use at your own risk
Inheritance
System.Object
ShapeFieldCacheProvider<Spatial4n.Core.Shapes.IPoint>
PointPrefixTreeFieldCacheProvider
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |
---|---|---|
Lucene.Net.Util.BytesRef | term |
Returns
Type | Description |
---|---|
Spatial4n.Core.Shapes.IPoint |
Overrides
Lucene.Net.Spatial.Util.ShapeFieldCacheProvider<Spatial4n.Core.Shapes.IPoint>.ReadShape(Lucene.Net.Util.BytesRef)