Package org.apache.lucene.codecs
Class PointsReader
java.lang.Object
org.apache.lucene.codecs.PointsReader
- All Implemented Interfaces:
Closeable,AutoCloseable,Accountable
- Direct Known Subclasses:
Lucene60PointsReader,Lucene86PointsReader,SimpleTextPointsReader
Abstract API to visit point values.
-
Field Summary
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidChecks consistency of this reader.Returns an instance optimized for merging.abstract PointValuesReturnPointValuesfor the givenfield.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.lucene.util.Accountable
getChildResources, ramBytesUsed
-
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
-
getValues
ReturnPointValuesfor the givenfield.- 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
-