abstract class PointReader
extends java.lang.Object
implements java.io.Closeable
PointWriter
, abstracting away whether points a read
from (offline) disk or simple arrays in heap.Constructor and Description |
---|
PointReader() |
Modifier and Type | Method and Description |
---|---|
(package private) abstract int |
docID()
DocID for this point
|
void |
markOrds(long count,
LongBitSet ordBitSet)
Iterates through the next
count ords, marking them in the provided ordBitSet . |
(package private) abstract boolean |
next()
Returns false once iteration is done, else true.
|
(package private) abstract long |
ord()
Point ordinal
|
(package private) abstract 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
|
abstract boolean next() throws java.io.IOException
java.io.IOException
abstract byte[] packedValue()
abstract long ord()
abstract int docID()
public void markOrds(long count, LongBitSet ordBitSet) throws java.io.IOException
count
ords, marking them in the provided ordBitSet
.java.io.IOException
public long split(long count, LongBitSet rightTree, PointWriter left, PointWriter right, boolean doClearBits) throws java.io.IOException
java.io.IOException