Package org.apache.lucene.util.bkd
Class OfflinePointReader
java.lang.Object
org.apache.lucene.util.bkd.OfflinePointReader
- All Implemented Interfaces:
Closeable,AutoCloseable,PointReader
Reads points from disk in a fixed-with format, previously written with
OfflinePointWriter.- NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
-
Constructor Summary
ConstructorsConstructorDescriptionOfflinePointReader(BKDConfig config, Directory tempDir, String tempFileName, long start, long length, byte[] reusableBuffer) -
Method Summary
-
Constructor Details
-
OfflinePointReader
public OfflinePointReader(BKDConfig config, Directory tempDir, String tempFileName, long start, long length, byte[] reusableBuffer) throws IOException - Throws:
IOException
-
-
Method Details
-
next
Description copied from interface:PointReaderReturns false once iteration is done, else true.- Specified by:
nextin interfacePointReader- Throws:
IOException
-
pointValue
Description copied from interface:PointReaderSets the packed value in the provided ByteRef- Specified by:
pointValuein interfacePointReader
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-