ShapeValuesSource (Lucene 10.5.1 spatial-extras API)
Description: declaration: package: org.apache.lucene.spatial, class: ShapeValuesSource

Package org.apache.lucene.spatial

# Class ShapeValuesSource

java.lang.Object
org.apache.lucene.spatial.ShapeValuesSource

All Implemented Interfaces:
  `SegmentCacheable`

public abstract class ShapeValuesSource extends Object implements SegmentCacheable
Produces `ShapeValues` per-segment

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ShapeValuesSource()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract ShapeValues`
  `getValues(LeafReaderContext ctx)`
  Get a `ShapeValues` instance for the given leaf reader context

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface org.apache.lucene.search.SegmentCacheable

  `isCacheable`

- ## Constructor Details

  - ### ShapeValuesSource

    public ShapeValuesSource()

- ## Method Details

  - ### getValues

    public abstract ShapeValues getValues(LeafReaderContext ctx) throws IOException
    Get a `ShapeValues` instance for the given leaf reader context
    Throws:
      `IOException`