public interface PointWriter
extends java.io.Closeable
PointReader to iterate
those points. This abstracts away whether we write to disk, or use simple arrays
in heap.| Modifier and Type | Method and Description |
|---|---|
void |
append(byte[] packedValue,
long ord,
int docID)
Add a new point
|
void |
destroy()
Removes any temp files behind this writer
|
PointReader |
getReader(long startPoint,
long length)
Returns a
PointReader iterator to step through all previously added points |
PointReader |
getSharedReader(long startPoint,
long length,
java.util.List<java.io.Closeable> toCloseHeroically)
Returns the single shared reader, used at multiple times during the recursion, to read previously added points
|
void append(byte[] packedValue,
long ord,
int docID)
throws java.io.IOException
java.io.IOExceptionPointReader getReader(long startPoint, long length) throws java.io.IOException
PointReader iterator to step through all previously added pointsjava.io.IOExceptionPointReader getSharedReader(long startPoint, long length, java.util.List<java.io.Closeable> toCloseHeroically) throws java.io.IOException
java.io.IOExceptionvoid destroy()
throws java.io.IOException
java.io.IOExceptionCopyright © 2000–2025 The Apache Software Foundation. All rights reserved.