public abstract class PointReader extends Object implements 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 |
---|---|
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 . |
abstract boolean |
next()
Returns false once iteration is done, else true.
|
abstract long |
ord()
Point ordinal
|
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
|
public abstract boolean next() throws IOException
IOException
public abstract byte[] packedValue()
public abstract long ord()
public abstract int docID()
public void markOrds(long count, LongBitSet ordBitSet) throws IOException
count
ords, marking them in the provided ordBitSet
.IOException
public long split(long count, LongBitSet rightTree, PointWriter left, PointWriter right, boolean doClearBits) throws IOException
IOException
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.