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

    Note

    This API is for internal purposes only and might change in incompatible ways in the next release.

    Inheritance
    object
    ShapeFieldCacheProvider<IPoint>
    PointPrefixTreeFieldCacheProvider
    Inherited Members
    ShapeFieldCacheProvider<IPoint>.m_defaultSize
    ShapeFieldCacheProvider<IPoint>.m_shapeField
    ShapeFieldCacheProvider<IPoint>.GetCache(AtomicReader)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Spatial.Prefix
    Assembly: Lucene.Net.Spatial.dll
    Syntax
    public class PointPrefixTreeFieldCacheProvider : ShapeFieldCacheProvider<IPoint>

    Constructors

    PointPrefixTreeFieldCacheProvider(SpatialPrefixTree, string, int)

    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.

    Note

    This API is for internal purposes only and might change in incompatible ways in the next release.

    Declaration
    public PointPrefixTreeFieldCacheProvider(SpatialPrefixTree grid, string shapeField, int defaultSize)
    Parameters
    Type Name Description
    SpatialPrefixTree grid
    string shapeField
    int defaultSize

    Methods

    ReadShape(BytesRef)

    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.

    Note

    This API is for internal purposes only and might change in incompatible ways in the next release.

    Declaration
    protected override IPoint ReadShape(BytesRef term)
    Parameters
    Type Name Description
    BytesRef term
    Returns
    Type Description
    IPoint
    Overrides
    ShapeFieldCacheProvider<IPoint>.ReadShape(BytesRef)
    Back to top Copyright © 2024 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.