Package org.apache.lucene.util.bkd
Interface PointReader
-
- All Superinterfaces:
java.lang.AutoCloseable
,java.io.Closeable
- All Known Implementing Classes:
HeapPointReader
,OfflinePointReader
public interface PointReader extends java.io.Closeable
One pass iterator through all points previously written with aPointWriter
, abstracting away whether points are read from (offline) disk or simple arrays in heap.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
next()
Returns false once iteration is done, else true.PointValue
pointValue()
Sets the packed value in the provided ByteRef
-
-
-
Method Detail
-
next
boolean next() throws java.io.IOException
Returns false once iteration is done, else true.- Throws:
java.io.IOException
-
pointValue
PointValue pointValue()
Sets the packed value in the provided ByteRef
-
-