Fork me on GitHub
  • API

    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 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
    ShapeFieldCacheProvider<IPoint>.m_defaultSize
    ShapeFieldCacheProvider<IPoint>.m_shapeField
    ShapeFieldCacheProvider<IPoint>.GetCache(AtomicReader)
    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 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
    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)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2022 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.