Show / Hide Table of Contents

    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 Point of the original Shapes.

    This is a Lucene.NET INTERNAL API, use at your own risk
    Inheritance
    System.Object
    ShapeFieldCacheProvider<IPoint>
    PointPrefixTreeFieldCacheProvider
    Inherited Members
    ShapeFieldCacheProvider<IPoint>.m_defaultSize
    ShapeFieldCacheProvider<IPoint>.m_shapeField
    ShapeFieldCacheProvider<IPoint>.GetCache(AtomicReader)
    Namespace: Lucene.Net.Spatial.Prefix
    Assembly: Lucene.Net.Spatial.dll
    Syntax
    public class PointPrefixTreeFieldCacheProvider : ShapeFieldCacheProvider<IPoint>

    Constructors

    | Improve this Doc View Source

    PointPrefixTreeFieldCacheProvider(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 Source

    ReadShape(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)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)