public final class OfflinePointReader extends PointReader
OfflinePointWriter.| Constructor and Description |
|---|
OfflinePointReader(Directory tempDir,
java.lang.String tempFileName,
int packedBytesLength,
long start,
long length,
boolean longOrds,
boolean singleValuePerDoc) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
docID()
DocID for this point
|
void |
markOrds(long count,
LongBitSet ordBitSet)
Iterates through the next
count ords, marking them in the provided ordBitSet. |
boolean |
next()
Returns false once iteration is done, else true.
|
long |
ord()
Point ordinal
|
byte[] |
packedValue()
Returns the packed byte[] value
|
long |
split(long count,
LongBitSet rightTree,
PointWriter left,
PointWriter right,
boolean doClearBits)
Splits this reader into left and right partitions
|
public OfflinePointReader(Directory tempDir, java.lang.String tempFileName, int packedBytesLength, long start, long length, boolean longOrds, boolean singleValuePerDoc) throws java.io.IOException
java.io.IOExceptionpublic boolean next()
throws java.io.IOException
PointReadernext in class PointReaderjava.io.IOExceptionpublic byte[] packedValue()
PointReaderpackedValue in class PointReaderpublic long ord()
PointReaderord in class PointReaderpublic int docID()
PointReaderdocID in class PointReaderpublic void close()
throws java.io.IOException
java.io.IOExceptionpublic void markOrds(long count,
LongBitSet ordBitSet)
throws java.io.IOException
PointReadercount ords, marking them in the provided ordBitSet.markOrds in class PointReaderjava.io.IOExceptionpublic long split(long count,
LongBitSet rightTree,
PointWriter left,
PointWriter right,
boolean doClearBits)
throws java.io.IOException
PointReadersplit in class PointReaderjava.io.IOExceptionCopyright © 2000–2025 The Apache Software Foundation. All rights reserved.