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.Shapes.IPoint of the original Shapes.
Note
This API is for internal purposes only and might change in incompatible ways in the next release.
Inheritance
System.Object
ShapeFieldCacheProvider<Spatial4n.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.Shapes.IPoint |
Overrides
Lucene.Net.Spatial.Util.ShapeFieldCacheProvider<Spatial4n.Shapes.IPoint>.ReadShape(Lucene.Net.Util.BytesRef)