public final class HeapPointReader extends PointReader
Constructor and Description |
---|
HeapPointReader(List<byte[]> blocks,
int valuesPerBlock,
int packedBytesLength,
int[] ords,
long[] ordsLong,
int[] docIDs,
int start,
int end,
boolean singleValuePerDoc) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
docID()
DocID for this point
|
boolean |
next()
Returns false once iteration is done, else true.
|
long |
ord()
Point ordinal
|
byte[] |
packedValue()
Returns the packed byte[] value
|
markOrds, split
public HeapPointReader(List<byte[]> blocks, int valuesPerBlock, int packedBytesLength, int[] ords, long[] ordsLong, int[] docIDs, int start, int end, boolean singleValuePerDoc)
public boolean next()
PointReader
next
in class PointReader
public byte[] packedValue()
PointReader
packedValue
in class PointReader
public int docID()
PointReader
docID
in class PointReader
public long ord()
PointReader
ord
in class PointReader
public void close()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.