Package org.apache.lucene.codecs
Class PointsReader
java.lang.Object
org.apache.lucene.codecs.PointsReader
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Direct Known Subclasses:
Lucene90PointsReader
Abstract API to visit point values.
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
Checks consistency of this reader.Returns an instance optimized for merging.abstract PointValues
ReturnPointValues
for the givenfield
.
-
Constructor Details
-
PointsReader
protected PointsReader()Sole constructor. (For invocation by subclass constructors, typically implicit.)
-
-
Method Details
-
checkIntegrity
Checks consistency of this reader.Note that this may be costly in terms of I/O, e.g. may involve computing a checksum value against large data files.
- Throws:
IOException
- NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
-
getValues
ReturnPointValues
for the givenfield
. The behavior is undefined if the given field doesn't have points enabled on itsFieldInfo
.- Throws:
IOException
-
getMergeInstance
Returns an instance optimized for merging. This instance may only be used in the thread that acquires it.The default implementation returns
this
-